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