コード例 #1
0
        IEnumerator Wait()
        {
            yield return(new WaitForSeconds(despawnTime));

            PoolManager.Despawn(gameObject);
        }
コード例 #2
0
ファイル: Bullet.cs プロジェクト: raimis001/CubeTD_VR
 protected void OnBulletDestroy()
 {
     PoolManager.Despawn(gameObject);
 }