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