WaitForEvent Method (ScriptReference) |
Suspend coroutine until a given script event fires.
Namespace:
Demo3D.Native
Assembly:
Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntaxpublic static ITask ForEvent(
ScriptReference script
)
Parameters
- script
- Type: Demo3D.VisualsScriptReference
Script event to suspend until it fires.
Return Value
Type:
ITaskA task representing the wait for event.
See Also