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