Skip to main content

WaitForFrames

Namespace: MonineEngine.Core.Coroutines

Yields a coroutine until the specified amount of frames has passed.

public class WaitForFrames

Inheritance ObjectWaitForFrames

Properties

FrameCount

How many frames the routine should be yielded for.

public int FrameCount { get; }

Property Value

Int32

Elapsed

How many frames the routine has been yielded for.

public int Elapsed { get; set; }

Property Value

Int32

Constructors

WaitForFrames(Int32)

Constructs a new WaitForFrames instance.

public WaitForFrames(int frameCount)

Parameters

frameCount Int32
How many frames the routine will be yielded for.