WaitForEvents(Double, ScriptReference) Method |
Suspend coroutine until all of the script events fire or a timeout occurs.
Namespace: Demo3D.NativeAssembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.00.00
Syntaxpublic static ITask ForEvents(
double timeout,
params ScriptReference[] scripts
)
Parameters
- timeout Double
- Timeout to wait for events to fire.
- scripts ScriptReference
- Array of script events to wait for.
Return Value
ITaskA task representing the wait for all script events to fire.
See Also