UnityEditor.ScreenShots.Screenshot C# (CSharp) Method

Screenshot() private method

private Screenshot ( ) : void
return 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);
            }
        }