public void OnDestroy() { if (LevelManager.Instance != null && !LevelManager.Instance.IsPaused) { EnemyList.DestroyEnemy(this); } }
public void OnDestroy() { if (LevelManager.Instance != null && !LevelManager.Instance.IsPaused) { EnemyList.DestroyEnemy(this); } }