Пример #1
0
        IEnumerator Wait()
        {
            yield return(new WaitForSeconds(despawnTime));

            PoolManager.Despawn(gameObject);
        }
Пример #2
0
 protected void OnBulletDestroy()
 {
     PoolManager.Despawn(gameObject);
 }