Struct CoroutineCounterBuilder<T>
- Namespace
- LunyScript
- Assembly
- LunyScript.dll
Counter runs blocks either once or repeatedly after a given number of frames/heartbeats. Usage: Counter("name").In(5).Frames().Do(blocks); Counter("name").Every(10).Heartbeats().Do(blocks);
public readonly struct CoroutineCounterBuilder<T> where T : struct, ICoroutineCounterBuilderState
Type Parameters
T