예제 #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>();
 }
예제 #2
0
    void Start()
    {
        TimeLeft    = Timer.GetComponent <TMP_Text>();
        deatchClock = this.GetComponent <DeathClock>();

        TutorialImage.GetComponent <Image>().enabled          = true;
        Player.GetComponent <FirstPersonController>().enabled = false;
        Enemy.SetActive(false);
    }