Unity commands in the inspector

Unity specific commands.

These are a general grab bag of Unity specific commands. The following features are given:

  1. Switch to a scene.
  2. Log console messages to *Console*.
  3. Capture a screenshot.
  4. Describe a GameObject's hierarchy, or an entire scene.
  5. Activate or deactivate a GameObject.
  6. Reload the current scene.

Public Member Functions

IEnumerator SwitchToScene ([Prompt("Scene: ", completer="Scene")] string scene)
 Command switch-to-scene: Load a scene. More...
void ShowConsole (bool interactive=true)
 Command show-console: Show Unity's Console log. More...
void ToggleConsoleLogging ()
 Command toggle-console-logging: Toggle Unity's Console logging. More...
IEnumerator CaptureScreenshot (bool quiet=false)
 Command capture-screenshot: Save screenshot to selected directory
void DescribeScene ([UniversalArgument] bool includeComponents)
 Command describe-scene: Show game object hierarchy of scene. More...
void DescribeGameObject ([Prompt( completions=new[]{"*scene*"}, completer="GameObject", requireCoerce=false)] PromptResult< GameObject > pr)
 Command describe-game-object: Show a game object's components and children. More...
string ToggleGameObject ([Prompt("Toggle GameObject: ", history="GameObject", requireMatch=true)] GameObject go)
 Command toggle-game-object: Toggle a game object to (in)active. More...
void PlayerPrefsDelete ()
 Command player-prefs-delete: Delete the player preferences. More...
IEnumerator SceneReload ()
 Command scene-reload: Reload the current scene
void GameQuit ()
 Command game-quit: Quit the game. More...

Public Attributes

bool hideMinibufferOnScreenshot = false
 Variable hide-minibuffer-on-screenshot: Toggle whether screenshot includes minibuffer