Ejemplo n.º 1
0
 void Awake()
 {
     _theDaystar = Resources.FindObjectsOfTypeAll <TheDaystar> () [0];
     _theHouse   = FindObjectOfType <TheHouse> ();
     _skill      = GetComponent <TheTrueDaystarSkill> ();
     _settings   = FindObjectOfType <Settings> ();
 }
Ejemplo n.º 2
0
 void Awake()
 {
     _skill                 = GetComponent <TheTrueDaystarSkill> ();
     _comeback              = GetComponent <TheTrueDaystarComeback> ();
     _goesAway              = GetComponent <TheTrueDaystarGoesAway> ();
     _earthquake            = FindObjectOfType <Earthquake> ();
     _theHellFire           = FindObjectOfType <TheHellFire> ();
     _endGame               = FindObjectOfType <EndGame> ();
     _blastLight.localScale = Vector3.zero;
 }