Пример #1
0
        IEnumerator DelayDestory()
        {
            yield return(waitFor);

            PoolingManager.Destroy(gameObject);
        }
Пример #2
0
 public void Destroy()
 {
     Game.Beat.Unschedule(scheduleOnInterval, scheduledAction, false);
     PoolingManager.Destroy(gameObject);
 }