C# Class CoroutineSharp.Coroutine

Inheritance: IYieldInstruction, IDisposable
Datei anzeigen Open project: fingerpasswang/CoroutineSharp Class Usage Examples

Private Properties

Property Type Description
CheckYield bool
Dispose void
MoveNext bool
NextStep bool
Resume void
Yield void

Public Methods

Method Description
Coroutine ( IEnumerator routine, CoroutineManager coroutineManager ) : System
Dispose ( ) : void
Start ( ) : bool
Stop ( ) : void
Yield ( Coroutine coroutine, Action callback ) : void
YieldReturn ( Coroutine coroutine ) : void

Private Methods

Method Description
CheckYield ( ) : bool
Dispose ( bool b ) : void
MoveNext ( ) : bool
NextStep ( ) : bool
Resume ( ) : void
Yield ( IYieldInstruction instruction ) : void

Method Details

Coroutine() public method

public Coroutine ( IEnumerator routine, CoroutineManager coroutineManager ) : System
routine IEnumerator
coroutineManager CoroutineManager
return System

Dispose() public method

public Dispose ( ) : void
return void

Start() public method

public Start ( ) : bool
return bool

Stop() public method

public Stop ( ) : void
return void

Yield() public method

public Yield ( Coroutine coroutine, Action callback ) : void
coroutine Coroutine
callback Action
return void

YieldReturn() public static method

public static YieldReturn ( Coroutine coroutine ) : void
coroutine Coroutine
return void