Beispiel #1
0
 public void Despawn()
 {
     if (_poolManager != null)
     {
         _poolManager.Despawn(this);
     }
     else
     {
         Destroy(gameObject);
     }
 }