Пример #1
0
    void Awake()
    {
        arenaClearStage   = PlayerPrefs.GetInt("ArenaClearStage");
        arenaLizardStatus = GameObject.Find("Lizard").GetComponent <ArenaLizardStatus>();
        enemys            = new GameObject[clearNum];
        killButton        = GameObject.Find("KillButton").GetComponent <Button>();

        anim = GameObject.Find("Lizard").GetComponent <Animator>();
        missText.gameObject.SetActive(false);
        arenaHp = GetComponent <ArenaHp>();
    }
Пример #2
0
 void Awake()
 {
     arenaLizardStatus = GetComponent <ArenaLizardStatus>();
 }