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

            OnWaitComplete?.Invoke();
        }