Exemplo n.º 1
0
 void Start()
 {
     wave         = 1;
     control      = GetComponent <PhaseControl> ();
     initTimer    = 0;
     waveTimer    = 0;
     waveData     = new int[ENEMY_TYPES][];
     waveData [0] = new int[] { 3, 0, 0, 1, 2, 2, 3, 3 };
     waveData [1] = new int[] { 3, 2, 3, 3, 4, 4, 5, 5 };
 }
Exemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     control = gameObject.GetComponent <PhaseControl> ();
 }
Exemplo n.º 3
0
 void Start()
 {
     this.phaseController = GameObject.FindWithTag("PhaseController");
     this.phaseComponent = this.phaseController.GetComponent<PhaseControl>();
 }