private void Awake() { if (instance != null) { Debug.LogWarning("More than one instance of ProjectilePool found!"); return; } instance = this; }
private void Awake() { objectPool = GetComponent <EnemyProjectilePool>(); }
private void Awake() { if (instance != null) { Debug.LogWarning("More than one instance of ProjectilePool found!"); return; } instance = this; }
private void Awake() { objectPool = GetComponent <EnemyProjectilePool>(); }