public void Destroy() { updateManager.Remove(this); EnemiesPack.Remove(transform); Destroy(gameObject); }
public void AddToPack() { EnemiesPack.AddEnemy(transform); }