Example #1
0
    IEnumerator TimerCR(float time, Destructible.Callback callback)
    {
        yield return(new WaitForSeconds(time));

        callback();
    }
Example #2
0
 private void Timer(float time, Destructible.Callback callback)
 {
     StartCoroutine(TimerCR(time, callback));
 }