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