UnityEditor.SavedGUIState.Internal_SetupSavedGUIState C# (CSharp) Method

Internal_SetupSavedGUIState() private method

private Internal_SetupSavedGUIState ( IntPtr &state, Vector2 &screenManagerSize ) : void
state System.IntPtr
screenManagerSize Vector2
return void
        private static extern void Internal_SetupSavedGUIState(out IntPtr state, out Vector2 screenManagerSize);
        private static void Internal_ApplySavedGUIState(IntPtr state, Vector2 screenManagerSize)

Usage Example

示例#1
0
        internal static SavedGUIState Create()
        {
            SavedGUIState result = default(SavedGUIState);

            if (SavedGUIState.Internal_GetGUIDepth() > 0)
            {
                result.skin        = GUI.skin;
                result.layoutCache = new GUILayoutUtility.LayoutCache(GUILayoutUtility.current);
                SavedGUIState.Internal_SetupSavedGUIState(out result.guiState, out result.screenManagerSize);
            }
            return(result);
        }
All Usage Examples Of UnityEditor.SavedGUIState::Internal_SetupSavedGUIState