public static bool canFire = false; // used for enemy fire flag void Start() { thebulletPooler = FindObjectOfType <EnemyBulletPooler> (); theEnemy_01Spawner = FindObjectOfType <Enemy_01_Spawner> (); //theEnemySpawner = FindObjectOfType <MultipleEnemySpawner> (); // stack events here theEventDelegate += initiate_Event_B; }
void Start() { m_target = GameObject.FindGameObjectWithTag("Player").transform; m_enemyBulletPooler = GameObject.FindObjectOfType <EnemyBulletPooler>(); m_shotCoolDown = m_shotsPerSecond; }
void Awake() { current = this; }
public void Initialize(EnemyBulletPooler pooler) { m_pooler = pooler; }
void Awake() { _Instance = this; }