Method InvokeRepeating
- Namespace
- Gamelogic.Extensions
- Assembly
- Gamelogic.Extensions.dll
InvokeRepeating(MonoBehaviour, Action, float, float)
Invokes the given action after the given amount of time, and repeats the action after every repeatTime seconds.
public static Coroutine InvokeRepeating(this MonoBehaviour monoBehaviour, Action action, float time, float repeatTime)
Parameters
monoBehaviourMonoBehaviouractionActiontimefloatrepeatTimefloat
Returns
InvokeRepeating(MonoBehaviour, Action, IGenerator<float>)
Invokes the given action after the given amount of time, and repeats the action after every repeatTime seconds.
public static Coroutine InvokeRepeating(this MonoBehaviour monoBehaviour, Action action, IGenerator<float> repeatTime)
Parameters
monoBehaviourMonoBehaviouractionActionrepeatTimeIGenerator<float>