C# Class SpicyPixel.Threading.ConcurrentBehaviour

Convenience class that extends MonoBehavior to provide a Scheduler and TaskFactory for executing tasks on the behaviour instance.
Derived classes must remember to use the override keyword when providing an Awake implementation or the task factory will not be initialized.
Inheritance: UnityEngine.MonoBehaviour
Show file Open project: spicypixel/concurrency-kit-cs Class Usage Examples

Protected Methods

Method Description
Awake ( ) : void

Initializes the task factory during Awake().

The task factory cannot be initialized in the constructor because it must be initialized from the coroutine execution thread which the constructor does not guarantee.

Method Details

Awake() protected method

Initializes the task factory during Awake().
The task factory cannot be initialized in the constructor because it must be initialized from the coroutine execution thread which the constructor does not guarantee.
protected Awake ( ) : void
return void