public static void StartCoroutineDelay(this MonoBehaviour _monoBehaviour, FuncCallback0 fn0, float delay = -1) { if (delay < 0) { fn0(); } else { _monoBehaviour.StartCoroutine(_monoBehaviour.DelayedCoroutine(fn0, delay)); } }
public static Coroutine RunDelayed(this MonoBehaviour mb, float delay, System.Action a) { return(mb.StartCoroutine(mb.DelayedCoroutine(delay, a))); }