Click or drag to resize

DocumentRun Method (Double, FuncIEnumerable)

Schedule a coroutine to be called after a delay in simulation time.

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

Parameters

delay
Type: SystemDouble
Simulation time from now in seconds.
coroutine
Type: SystemFuncIEnumerable
Coroutine to be invoked.

Return Value

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