Click or drag to resize

DocumentRun(Double, FuncIEnumerable) Method

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

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

Parameters

delay  Double
Simulation time from now in seconds.
coroutine  FuncIEnumerable
Coroutine to be invoked.

Return Value

ITask
An ITask representing the scheduled coroutine.
See Also