Line 5: | Line 5: | ||
{{ScriptFunction|void|Stop|();|Pauses the current script until it is manually restarted, at the end of the current function/method; consider using return as well}} | {{ScriptFunction|void|Stop|();|Pauses the current script until it is manually restarted, at the end of the current function/method; consider using return as well}} | ||
{{ScriptFunction|SGameObject|ExecutingObject|{ get; }|Returns the SGameObject this script is attached to}} | {{ScriptFunction|SGameObject|ExecutingObject|{ get; }|Returns the SGameObject this script is attached to}} | ||
+ | {{ScriptFunction|string|Language|{ get; }|Returns the English name for the users language, e.g. 'English', 'French', 'Chinese'}} | ||
{{Scripting Navbox}} | {{Scripting Navbox}} |
The SHost class represents the scripting runtime.
Invokes a UnityEvent attached to the Scripting Runtime component this script is executing in.
Pauses the current script until it is manually restarted, at the end of the current function/method; consider using return as well
Returns the SGameObject this script is attached to
Returns the English name for the users language, e.g. 'English', 'French', 'Chinese'
|