void Awake() { _settings = FindObjectOfType <Settings> (); _hellFire = FindObjectOfType <TheHellFire> (); _theLight = FindObjectOfType <TheLight> (); _currentAppearanceState = sheep == 100 ? _appearances.Length - 1 : 0; }
public override void Awake() { base.Awake(); _shakeCamera = FindObjectOfType <CameraShake> (); _objectShake = GetComponent <ObjectShake> (); _theHouse = FindObjectOfType <TheHouse> (); _theHellFire = FindObjectOfType <TheHellFire> (); }
void Awake() { _shake = GetComponent <ObjectShake> (); _blastLight.localScale = Vector3.zero; _earthquake = FindObjectOfType <Earthquake> (); _theHellFire = FindObjectOfType <TheHellFire> (); _settings = FindObjectOfType <Settings> (); _endGame = FindObjectOfType <EndGame> (); }
void Awake() { _skill = GetComponent <TheTrueDaystarSkill> (); _comeback = GetComponent <TheTrueDaystarComeback> (); _goesAway = GetComponent <TheTrueDaystarGoesAway> (); _earthquake = FindObjectOfType <Earthquake> (); _theHellFire = FindObjectOfType <TheHellFire> (); _endGame = FindObjectOfType <EndGame> (); _blastLight.localScale = Vector3.zero; }