UnityEditor.SavedGUIState.Internal_ApplySavedGUIState C# (CSharp) Method

Internal_ApplySavedGUIState() private static method

private static Internal_ApplySavedGUIState ( IntPtr state, Vector2 screenManagerSize ) : void
state System.IntPtr
screenManagerSize Vector2
return void
        private static void Internal_ApplySavedGUIState(IntPtr state, Vector2 screenManagerSize)
        {
            INTERNAL_CALL_Internal_ApplySavedGUIState(state, ref screenManagerSize);
        }

Usage Example

示例#1
0
 internal void ApplyAndForget()
 {
     if (this.layoutCache != null)
     {
         GUILayoutUtility.current = this.layoutCache;
         GUI.skin = this.skin;
         SavedGUIState.Internal_ApplySavedGUIState(this.guiState, this.screenManagerSize);
         GUIClip.Reapply();
     }
 }