C# Class SpicyPixel.Threading.UnityFiberInstruction

Represents a fiber instruction to be processed by a FiberScheduler.
Specific instructions understood by a scheduler are to be derived from this abstract type.
Show file Open project: spicypixel/concurrency-kit-cs

Public Properties

Property Type Description
WaitForEndOfFrame FiberInstruction
WaitForFixedUpdate FiberInstruction

Public Methods

Method Description
WaitForSeconds ( float seconds ) : FiberInstruction

Convenience coroutine to send a WaitForSeconds instruction to the scheduler.

Method Details

WaitForSeconds() public static method

Convenience coroutine to send a WaitForSeconds instruction to the scheduler.
public static WaitForSeconds ( float seconds ) : FiberInstruction
seconds float /// The seconds to wait. ///
return FiberInstruction

Property Details

WaitForEndOfFrame public static property

Convenience coroutine to send a WaitForEndOfFrame instruction to the scheduler.
public static FiberInstruction,SpicyPixel.Threading WaitForEndOfFrame
return FiberInstruction

WaitForFixedUpdate public static property

Convenience coroutine to send a WaitForFixedUpdate instruction to the scheduler.
public static FiberInstruction,SpicyPixel.Threading WaitForFixedUpdate
return FiberInstruction