ICoroutine
Last updated
Token representing a coroutine.
public interface ICoroutine
Stop the coroutine
Syntaxpublic void Abort ()
Remarks
RequirementsNamespace: Sansar.Script Assembly: Sansar.Script (in Sansar.Script.dll) Assembly Versions: 1.0.0.0
Is this coroutine is still working or waiting.
Syntaxpublic bool IsAlive { get; }
Value
Will return false if this coroutine has completed or had Abort() called on it or thrown an exception.
Remarks
RequirementsNamespace: Sansar.Script Assembly: Sansar.Script (in Sansar.Script.dll) Assembly Versions: 1.0.0.0
Is the coroutine waiting.
Syntaxpublic bool IsWaiting { get; }
Value
True if the coroutine is waiting for time or an event.
Remarks
RequirementsNamespace: Sansar.Script Assembly: Sansar.Script (in Sansar.Script.dll) Assembly Versions: 1.0.0.0
The name of the coroutine.
Syntaxpublic string Name { get; set; }
Value
Documentation for this section has not yet been entered.
Remarks
RequirementsNamespace: Sansar.Script Assembly: Sansar.Script (in Sansar.Script.dll) Assembly Versions: 1.0.0.0
Reset the signal count on a coroutine.
Syntaxpublic void ResetSignals ()
Remarks
RequirementsNamespace: Sansar.Script Assembly: Sansar.Script (in Sansar.Script.dll) Assembly Versions: 1.0.0.0
Send a signal to the coroutine and wake it up if it is waiting for a signal.
Syntaxpublic void Signal ()
Remarks
RequirementsNamespace: Sansar.Script Assembly: Sansar.Script (in Sansar.Script.dll) Assembly Versions: 1.0.0.0
Last updated