wiki.sine.space | sinespace

Scripting/SHost

From wiki.sine.space
Revision as of 17:26, 17 January 2017 by Sinewave (Talk | contribs)

Jump to: navigation, search

The SHost class represents the scripting runtime.

Members

InvokeEvent

void InvokeEvent (string name);

Invokes a UnityEvent attached to the Scripting Runtime component this script is executing in.

No example provided yet


Stop

void Stop ();

Pauses the current script until it is manually restarted, at the end of the current function/method; consider using return as well

No example provided yet


ExecutingObject

SGameObject ExecutingObject { get; }

Returns the SGameObject this script is attached to

No example provided yet