SScriptingEvents
Index
Functions Index
Function Name
void InvokeEvent (string name)
Properties Index
Property Name
Functions
InvokeEvent
void InvokeEvent (string name)
Invoke the event with its name
Parameter
Type
Description
Space.Host.ExecutingObject.Events.InvokeEvent("EventName")
Properties
Enabled
bool Enabled get
set
Whether the scriptingEvents component is enabled or not
Space.Host.ExecutingObject.Events.Enabled = true
Events
string[] Events get
Returns a list of events
eventNames = Space.Host.ExecutingObject.Events.Events
ComponentName
string ComponentName get
The name of this component.
componentName = Space.Host.ExecutingObject.Events.ComponentName
GameObject
SGameObject GameObject get
Property Description
theGameObject = Space.Host.ExecutingObject.Events.GameObject