private void _timer_Tick(object sender, EventArgs e) { _timer.Stop(); OnWaitComplete?.Invoke(sender, e); }
public IEnumerator StartWaiting(float waitDuration = 1.0f) { yield return(new WaitForSeconds(waitDuration)); OnWaitComplete?.Invoke(); }