UnityEditor.ScreenShots.ScreenshotExtendedRight C# (CSharp) Method

ScreenshotExtendedRight() private method

private ScreenshotExtendedRight ( ) : void
return void
        public static void ScreenshotExtendedRight()
        {
            GUIView mouseOverView = GetMouseOverView();
            if (mouseOverView != null)
            {
                string name = GetGUIViewName(mouseOverView) + "Extended";
                MainView view2 = Resources.FindObjectsOfTypeAll<MainView>()[0];
                Rect screenPosition = mouseOverView.screenPosition;
                screenPosition.xMax = view2.window.position.xMax;
                screenPosition.y--;
                screenPosition.height += 2f;
                SaveScreenShot(screenPosition, name);
            }
        }