hudui 버그 수정 등
This commit is contained in:
parent
79e6064a55
commit
c22bdf2389
|
|
@ -82,7 +82,7 @@ public class MyActor : Actor
|
|||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
else if (CurAnim < eAnim.Dodge)
|
||||
Play_Idle();
|
||||
}
|
||||
protected virtual void Update_Move()
|
||||
|
|
|
|||
|
|
@ -28,6 +28,13 @@ public class HUDUI : HUDBase
|
|||
go_BossIcon.SetActive(_actor.IsSubRole(eSubRol.Boss));
|
||||
}
|
||||
|
||||
public bool Get_Check()
|
||||
{
|
||||
if (DSUtil.CheckNull(m_Actor)) return true;
|
||||
if (m_Actor.IsDead()) return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
public void Set_HPSlider(double Hp, double MaxHp)
|
||||
{
|
||||
On_HUD();
|
||||
|
|
|
|||
|
|
@ -180,7 +180,7 @@ public partial class InGameInfo : MyCoroutine
|
|||
HUDUI temp = null;
|
||||
for (int i = 0; i < list_HUDUI.Count; i++)
|
||||
{
|
||||
if (!list_HUDUI[i].gameObject.activeInHierarchy)
|
||||
if (list_HUDUI[i].Get_Check())
|
||||
{
|
||||
temp = list_HUDUI[i];
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in New Issue