// 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 Start() { TimeLeft = Timer.GetComponent <TMP_Text>(); deatchClock = this.GetComponent <DeathClock>(); TutorialImage.GetComponent <Image>().enabled = true; Player.GetComponent <FirstPersonController>().enabled = false; Enemy.SetActive(false); }