WaitFor Method (Double, ScriptReference) |
Use ForEvent(Double, ScriptReference) instead.
Suspend coroutine until a given script event fires or there is a timeout.Namespace: Demo3D.Native
public static ITask For( double timeout, ScriptReference script )