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);
}