UnityCommands
Description
Unity specific commands.
These are a general grab bag of Unity specific commands. The following features are given:
- Switch to a scene.
- Log console messages to
*Console*
. - Capture a screenshot.
- Describe a GameObject's hierarchy, or an entire scene.
- Activate or deactivate a GameObject.
- 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 | |