Property | Type | Description | |
---|---|---|---|
DummyScript | Script |
Method | Description | |
---|---|---|
Exists ( ) : bool |
Checks if the script has a associated file
|
|
GetFullPath ( ) : string |
Uses the index and title of the script to create a unique filename
|
|
Load ( string filename ) : bool |
Loads a script file from the given path
|
|
Reload ( ) : void |
Reloads the script from file
|
|
Save ( ) : bool |
Saves the script to disk using generated filename
|
|
Script ( ) : System |
Default constructor
|
|
Script ( string filename ) : System |
Parametered constructor to load a script after construction
|
Method | Description | |
---|---|---|
SetIndex ( int index ) : void |
Sets the index of the script
|
|
SetText ( string text ) : void |
Sets the text of the script
|
|
SetTitle ( string title ) : void |
Sets the title of the script
|
public Load ( string filename ) : bool | ||
filename | string | The path to the script |
return | bool |
public Script ( string filename ) : System | ||
filename | string | The filename of the script to load |
return | System |