Property | Type | Description | |
---|---|---|---|
bottomMargin | float | ||
includeAsset | |||
includeFile | string | ||
leftMargin | float | ||
maxHistorySize | int | ||
maxOutputLineCount | int | ||
maxOutputLineWidth | int | ||
maxOutputSize | int | ||
queuedAsset | |||
rightMargin | float | ||
showInteractiveGUI | bool | ||
showOutputAsEditorSelection | bool | ||
showOutputText | bool | ||
showTooltipText | bool | ||
splitterFraction | float | ||
toolboxWidth | int | ||
topMargin | float |
Method | Description | |
---|---|---|
AddGlobal ( string name, object value ) : object |
Adds the specified global variable to the interpreter environment.
|
|
CSI ( CSI callback ) : void | ||
ClearHistory ( ) : void | ||
ClearHistory ( string &history ) : void | ||
ClearOutput ( ) : void | ||
ClearOutput ( string &outputText ) : void | ||
ExecuteCode ( string inputText ) : bool |
Execute the specified code in the interpreter environment.
|
|
ExecuteFile ( string inputFilename ) : bool |
Execute the specified file in the interpreter environment.
|
|
GetHistory ( ) : string[] | ||
GetLastExecuteResult ( ) : object | ||
GetOutput ( ) : string | ||
HasGlobal ( string name ) : bool | ||
Invoke ( Action action ) : void |
Implements a helper method that can be used to execute a statement and hide the result from the interpreter output windows.
|
|
IsEditorAvailable ( ) : bool | ||
RemoveGlobal ( string name ) : bool | ||
Select ( GameObject gameObject ) : bool | ||
Select ( IEnumerable |
||
Select ( Transform transform ) : bool | ||
Select ( UnityEngine unityObject ) : bool | ||
Select ( object obj ) : bool |
Method | Description | |
---|---|---|
Awake ( ) : void | ||
CSI ( ) : int | ||
CSI ( string s ) : string | ||
EnforceParameterLimits ( ) : void | ||
ForceWarning ( string message ) : void | ||
ForceWarning ( string message, UnityEngine context ) : void | ||
GetAssetText ( object asset, string &assetName ) : string | ||
GetDefaultIncludeFilename ( ) : string | ||
GetFullPathOfAssembly ( Assembly assembly ) : string | ||
OnDrawGUI ( ) : void |
Called when the GUI needs to be drawn.
|
|
OnExecuteInput ( ) : void |
Called when the input text need to be executed (e.g., when Enter is pressed).
|
|
OnGUI ( ) : void |
Draws the GUI and execute its interaction logic; called by Unity on a frequent basis.
|
|
OnGetUnknownItem ( object key ) : object | ||
OnMetaRequest ( ) : bool |
Called when metadata should be displayed (e.g., when Alt+F1 is pressed).
|
|
OnNavigateHistory ( bool useTrueForOlderOrFalseForNewerOrNullForUndo ) : void |
Called when the history needs ot be navigated (e.g., when the up-arrow, down-arrow or escape key is pressed).
|
|
PromptForInput ( string prompt ) : void | ||
Reinitialize ( ) : bool |
Performs initialization of this instance, which can be called at startup or in play mode when the Unity Editor rebuilds scripts.
|
|
Reset ( ) : void | ||
ResolveFilename ( string filename ) : string | ||
Select ( string selectionPropertyName, object selectionPropertyValue ) : bool | ||
SetUnityEditorProperty ( string objectTypeName, string propertyName, object propertyValue ) : bool | ||
Start ( ) : void |
Performs one-time initialization of this instance; called by Unity.
|
|
Update ( ) : void |
Perform the update logic; called by Unity on every frame.
|
public AddGlobal ( string name, object value ) : object | ||
name | string | |
value | object | |
return | object |
public ClearHistory ( string &history ) : void | ||
history | string | |
return | void |
public ClearOutput ( string &outputText ) : void | ||
outputText | string | |
return | void |
public ExecuteCode ( string inputText ) : bool | ||
inputText | string | |
return | bool |
public ExecuteFile ( string inputFilename ) : bool | ||
inputFilename | string | |
return | bool |
public Invoke ( Action action ) : void | ||
action | Action | The action delegate to be executed. |
return | void |
public Select ( GameObject gameObject ) : bool | ||
gameObject | GameObject | |
return | bool |
public Select ( IEnumerable |
||
unityObjects | IEnumerable |
|
return | bool |
public Select ( UnityEngine unityObject ) : bool | ||
unityObject | UnityEngine | |
return | bool |