SResource GetResource (string name)
Get the resource by its name and return it.
void CallScriptFunction (string name, params DynValue[] arguments) void CallScriptFunction (string name)
Call registered script function with specified arguments.
void Reset ()
Reset event members to their initial values.
object GetPublicVariable (string name)
Gets the public variable by its name and return it.
void SetPublicVariable (string name, DynValue property, bool persistent=false)
Set the property to public variable with name "name".
void InvokeEvent (string name)
Invokes the event with the name "name".
SResource[] Resources get
Return a list of resource.
bool Enabled get
set
Whether the scripting runtime component is Enabled.
string ComponentName get
The name of this component.
SGameObject GameObject get
Property Description
Function Name |
---|
Property Name |
---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
SResource GetResource (string name)
void CallScriptFunction (string name, params DynValue[] arguments) void CallScriptFunction (string name)
void Reset ()
object GetPublicVariable (string name)
void SetPublicVariable (string name, DynValue property, bool persistent=false)
void InvokeEvent (string name)
SResource[] Resources get
bool Enabled get
set
string ComponentName get
SGameObject GameObject get