internal static SavedGUIState Create()
{
SavedGUIState state = new SavedGUIState();
if (Internal_GetGUIDepth() > 0)
{
state.skin = GUI.skin;
state.layoutCache = new GUILayoutUtility.LayoutCache(GUILayoutUtility.current);
Internal_SetupSavedGUIState(out state.guiState, out state.screenManagerSize);
}
return state;
}