C# Class CielaSpike.Task

Represents an async task.
Inheritance: IEnumerator
Afficher le fichier Open project: DiUS/3DiUS Class Usage Examples

Méthodes publiques

Méthode Description
Cancel ( ) : void

Cancel the task till next iteration;

MoveNext ( ) : bool

Runs next iteration.

Reset ( ) : void
Task ( IEnumerator routine ) : UnityEngine
Wait ( ) : IEnumerator

A co-routine that waits the task.

Private Methods

Méthode Description
BackgroundRunner ( object state ) : void
GotoState ( RunningState state ) : void
MoveNextAsync ( ) : void
MoveNextUnity ( ) : void
OnMoveNext ( ) : bool
SetPendingCurrentObject ( object current ) : void

Method Details

Cancel() public méthode

Cancel the task till next iteration;
public Cancel ( ) : void
Résultat void

MoveNext() public méthode

Runs next iteration.
public MoveNext ( ) : bool
Résultat bool

Reset() public méthode

public Reset ( ) : void
Résultat void

Task() public méthode

public Task ( IEnumerator routine ) : UnityEngine
routine IEnumerator
Résultat UnityEngine

Wait() public méthode

A co-routine that waits the task.
public Wait ( ) : IEnumerator
Résultat IEnumerator