Ejemplo n.º 1
0
 public void DeActiveObject(EffectObject newObject)
 {
     pool.Enqueue(newObject);
     newObject.ConnectToObjectPool(this);
     newObject.transform.parent = transform;
     newObject.gameObject.SetActive(false);
 }