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
Afficher le fichier Open project: spicypixel/concurrency-kit-cs Class Usage Examples

Méthodes protégées

Méthode 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 méthode

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
Résultat void