示例#1
0
 /// <summary>
 /// Toggles the top toolbar for the currently focused fullscreen window. (Only applies to Scene View, Game View, and Main Window, which have top toolbars).
 /// </summary>
 public static void ToggleTopToolbar()
 {
     if (EditorFullscreenState.RunAfterInitialStateLoaded(ToggleTopToolbar))
     {
         return;
     }
     EditorFullscreenState.ToggleToolbarInFullscreen();
 }