UnityEditor.ScreenShots.Screenshot C# (CSharp) Метод

Screenshot() приватный Метод

private Screenshot ( ) : void
Результат void
        public static void Screenshot()
        {
            GUIView mouseOverView = GetMouseOverView();
            if (mouseOverView != null)
            {
                string gUIViewName = GetGUIViewName(mouseOverView);
                Rect screenPosition = mouseOverView.screenPosition;
                screenPosition.y--;
                screenPosition.height += 2f;
                SaveScreenShot(screenPosition, gUIViewName);
            }
        }