Table of Contents

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

monoBehaviour MonoBehaviour
action Action
time float
repeatTime float

Returns

Coroutine

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

monoBehaviour MonoBehaviour
action Action
repeatTime IGenerator<float>

Returns

Coroutine