// 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>(); }
void Awake() { handleDificulty = GameObject.FindGameObjectWithTag("HandleDificult").GetComponent <HandleDificulty>(); }