// Update is called once per frame void Update() { f_Timer += Time.deltaTime; AnimationCheck(); AttackSelection(); BossState g_Boss = GetComponent <BossState>(); if (g_Boss.GetHp() <= 0.0f) { //g_Direction.ReSetDirection(); //Destroy(this); } }