Class CounterBuilderWhenExtensions
- Namespace
- LunyScript.Api
/ - Assembly
- LunyScript.dll
public static class CounterBuilderWhenExtensions
Expand Details ...
- Inheritance
-
Object
CounterBuilderWhenExtensions
Methods
WhenPaused<T>(CoroutineCounterBuilder<T>, params ActionBlock[])
Blocks to run when the coroutine is paused.
public static CoroutineCounterBuilder<T> WhenPaused<T>(this CoroutineCounterBuilder<T> b, params ActionBlock[] pausedBlocks) where T : struct, ICoroutineCounterWhen
Parameters
Returns
- CoroutineCounterBuilder<T>
Type Parameters
T
WhenProcessed<T>(CoroutineCounterBuilder<T>, params ActionBlock[])
public static CoroutineCounterBuilder<T> WhenProcessed<T>(this CoroutineCounterBuilder<T> b, params ActionBlock[] processBlocks) where T : struct, ICoroutineCounterWhen
Parameters
Returns
- CoroutineCounterBuilder<T>
Type Parameters
T
WhenResumed<T>(CoroutineCounterBuilder<T>, params ActionBlock[])
Blocks to run when the coroutine is resumed.
public static CoroutineCounterBuilder<T> WhenResumed<T>(this CoroutineCounterBuilder<T> b, params ActionBlock[] resumedBlocks) where T : struct, ICoroutineCounterWhen
Parameters
Returns
- CoroutineCounterBuilder<T>
Type Parameters
T
WhenStarted<T>(CoroutineCounterBuilder<T>, params ActionBlock[])
Blocks to run when the coroutine starts.
public static CoroutineCounterBuilder<T> WhenStarted<T>(this CoroutineCounterBuilder<T> b, params ActionBlock[] startedBlocks) where T : struct, ICoroutineCounterWhen
Parameters
Returns
- CoroutineCounterBuilder<T>
Type Parameters
T
WhenStopped<T>(CoroutineCounterBuilder<T>, params ActionBlock[])
Blocks to run when the coroutine stops.
public static CoroutineCounterBuilder<T> WhenStopped<T>(this CoroutineCounterBuilder<T> b, params ActionBlock[] stoppedBlocks) where T : struct, ICoroutineCounterWhen
Parameters
Returns
- CoroutineCounterBuilder<T>
Type Parameters
T