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>(); }
void Awake() { arenaLizardStatus = GetComponent <ArenaLizardStatus>(); }