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