Click or drag to resize

DocumentRunT Method (FuncT, IEnumerable, T)

Schedule a coroutine to be called in the current time-step.

Namespace:  Demo3D.Visuals
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntax
C#
public ITask Run<T>(
	Func<T, IEnumerable> coroutine,
	T arg1
)

Parameters

coroutine
Type: SystemFuncT, IEnumerable
Coroutine to be invoked.
arg1
Type: T
First argument to coroutine.

Type Parameters

T
Type of first argument to coroutine.

Return Value

Type: ITask
An ITask representing the scheduled coroutine.
See Also