Ejemplo n.º 1
0
    // Use this for initialization
    void Start()
    {
        count       = 0;
        enemyHolder = new GameObject("Enemy_01_Holder");
        theSpawner  = FindObjectOfType <Enemy_01_Spawner>();

        StartCoroutine(runInstance(secsTowait));
    }
    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;
    }