All pages
Powered by GitBook
1 of 1

Loading...

SScriptingEvents

Index

Functions Index

Function Name

Properties Index

Property Name

Functions

InvokeEvent

void InvokeEvent (string name)

Invoke the event with its name

Parameter
Type
Description

Properties

Enabled

bool Enabled get set

Whether the scriptingEvents component is enabled or not

Events

string[] Events get

Returns a list of events

ComponentName

string ComponentName get

The name of this component.

GameObject

GameObject get

Property Description

void InvokeEvent (string name)

bool Enabled get set

string[] Events get

string ComponentName get

SGameObject GameObject get

SGameObject
Space.Host.ExecutingObject.Events.InvokeEvent("EventName")
Space.Host.ExecutingObject.Events.Enabled = true
eventNames = Space.Host.ExecutingObject.Events.Events
componentName = Space.Host.ExecutingObject.Events.ComponentName
theGameObject = Space.Host.ExecutingObject.Events.GameObject