Exemple #1
0
        IEnumerator Wait()
        {
            yield return(new WaitForSeconds(despawnTime));

            PoolManager.Despawn(gameObject);
        }
Exemple #2
0
 protected void OnBulletDestroy()
 {
     PoolManager.Despawn(gameObject);
 }