예제 #1
0
        internal static void ScrollForTabbing(bool forward)
        {
            Rect rect;

            GUI.ScrollViewState topScrollView = GUI.GetTopScrollView();
            if ((topScrollView != null) && Internal_GetKeyboardRect(Internal_GetNextKeyboardControlID(forward), out rect))
            {
                topScrollView.ScrollTo(rect);
            }
        }
예제 #2
0
        internal static void ScrollForTabbing(bool forward)
        {
            GUI.ScrollViewState topScrollView = GUI.GetTopScrollView();
            Rect position;

            if (topScrollView != null && EditorGUIUtility.Internal_GetKeyboardRect(EditorGUIUtility.Internal_GetNextKeyboardControlID(forward), out position))
            {
                topScrollView.ScrollTo(position);
            }
        }
예제 #3
0
        internal static void RefreshScrollPosition()
        {
            Rect rect;

            GUI.ScrollViewState topScrollView = GUI.GetTopScrollView();
            if ((topScrollView != null) && Internal_GetKeyboardRect(GUIUtility.keyboardControl, out rect))
            {
                topScrollView.ScrollTo(rect);
            }
        }
예제 #4
0
        internal static void RefreshScrollPosition()
        {
            GUI.ScrollViewState topScrollView = GUI.GetTopScrollView();
            Rect position;

            if (topScrollView != null && EditorGUIUtility.Internal_GetKeyboardRect(GUIUtility.keyboardControl, out position))
            {
                topScrollView.ScrollTo(position);
            }
        }