DocumentRunT(FuncT, IEnumerable, T) Method |
Schedule a coroutine to be called in the current time-step.
Namespace: Demo3D.VisualsAssembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.00.00
Syntaxpublic ITask Run<T>(
Func<T, IEnumerable> coroutine,
T arg1
)
Parameters
- coroutine FuncT, IEnumerable
- Coroutine to be invoked.
- arg1 T
- First argument to coroutine.
Type Parameters
- T
- Type of first argument to coroutine.
Return Value
ITaskAn
ITask representing the scheduled coroutine.
See Also