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); } }
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); } }
internal static void RefreshScrollPosition() { Rect rect; GUI.ScrollViewState topScrollView = GUI.GetTopScrollView(); if ((topScrollView != null) && Internal_GetKeyboardRect(GUIUtility.keyboardControl, out rect)) { topScrollView.ScrollTo(rect); } }
internal static void RefreshScrollPosition() { GUI.ScrollViewState topScrollView = GUI.GetTopScrollView(); Rect position; if (topScrollView != null && EditorGUIUtility.Internal_GetKeyboardRect(GUIUtility.keyboardControl, out position)) { topScrollView.ScrollTo(position); } }