Exemple #1
0
 private void Awake()
 {
     journeyPhysics = GameObject.FindWithTag("GameController").GetComponent <JourneyPhysics>();
     health         = GameObject.FindWithTag("Player").GetComponent <Health>();
     journeyPhysics.onAtmosphereLayerChange += ShowNPC;
     health.onDead += Falling;
     face           = GetComponent <Image>();
     DisableNPC();
 }
Exemple #2
0
 private void Awake()
 {
     journeyPhysics = GameObject.FindWithTag("GameController").GetComponent <JourneyPhysics>();
     journeyPhysics.onTimeCounterChange += UpdateScore;
 }
Exemple #3
0
 private void Awake()
 {
     target  = GameObject.FindWithTag("Player").GetComponent <Health>();
     journey = GameObject.FindWithTag("GameController").GetComponent <JourneyPhysics>();
     journey.onEndJourney += BossDefeated;
 }
Exemple #4
0
 private void Awake()
 {
     journeyPhysics = GameObject.FindWithTag("GameController").GetComponent <JourneyPhysics>();
     journeyPhysics.onAtmosphereLayerChange += ChangeLayerName;
 }
Exemple #5
0
 private void Awake()
 {
     journey = GameObject.FindWithTag("GameController").GetComponent <JourneyPhysics>();
 }
Exemple #6
0
 private void Awake()
 {
     journeyPhysics = GameObject.FindWithTag("GameController").GetComponent <JourneyPhysics>();
     journeyPhysics.onAtmosphereLayerChange += AdvanceToNextLayer;
     totalLayers = journeyPhysics.GetAtmosphereLayerCount();
 }
Exemple #7
0
 private void Awake()
 {
     journey = GameObject.FindWithTag("GameController").GetComponent <JourneyPhysics>();
     journey.onAtmosphereLayerChange += LaunchWave;
     journey.onEndJourney            += BossDefeated;
 }
Exemple #8
0
 private void Awake()
 {
     target                = GameObject.FindWithTag("Player").GetComponent <Health>();
     journeyPhysics        = GameObject.FindWithTag("GameController").GetComponent <JourneyPhysics>();
     scorePersistentObject = GameObject.FindObjectOfType <Score>();
 }