private Internal_SetupSavedGUIState ( |
||
state | ||
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)
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); }