Exemple #1
0
 // Start is called before the first frame update
 void Start()
 {
     deatchClock     = this.GetComponent <DeathClock>();
     BuildedMonster  = GameObject.Find("body");
     fullMonster     = BuildedMonster.GetComponent <completomostro>();
     handleDificulty = GameObject.FindGameObjectWithTag("HandleDificult").GetComponent <HandleDificulty>();
 }
Exemple #2
0
 void Awake()
 {
     handleDificulty = GameObject.FindGameObjectWithTag("HandleDificult").GetComponent <HandleDificulty>();
 }