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(); }
private void Awake() { journeyPhysics = GameObject.FindWithTag("GameController").GetComponent <JourneyPhysics>(); journeyPhysics.onTimeCounterChange += UpdateScore; }
private void Awake() { target = GameObject.FindWithTag("Player").GetComponent <Health>(); journey = GameObject.FindWithTag("GameController").GetComponent <JourneyPhysics>(); journey.onEndJourney += BossDefeated; }
private void Awake() { journeyPhysics = GameObject.FindWithTag("GameController").GetComponent <JourneyPhysics>(); journeyPhysics.onAtmosphereLayerChange += ChangeLayerName; }
private void Awake() { journey = GameObject.FindWithTag("GameController").GetComponent <JourneyPhysics>(); }
private void Awake() { journeyPhysics = GameObject.FindWithTag("GameController").GetComponent <JourneyPhysics>(); journeyPhysics.onAtmosphereLayerChange += AdvanceToNextLayer; totalLayers = journeyPhysics.GetAtmosphereLayerCount(); }
private void Awake() { journey = GameObject.FindWithTag("GameController").GetComponent <JourneyPhysics>(); journey.onAtmosphereLayerChange += LaunchWave; journey.onEndJourney += BossDefeated; }
private void Awake() { target = GameObject.FindWithTag("Player").GetComponent <Health>(); journeyPhysics = GameObject.FindWithTag("GameController").GetComponent <JourneyPhysics>(); scorePersistentObject = GameObject.FindObjectOfType <Score>(); }