shaoxiadiablo/Assets/AGame/Scripts/Game/Stat/Stat_ShacklesAction.cs

34 lines
659 B
C#
Raw Permalink Normal View History

2025-05-18 01:04:31 +08:00
using System.Collections.Generic;
namespace G
{
public class Stat_ShacklesAction : Stat_IdleAction
{
public Stat_ShacklesAction(Stat_StateManager statMgr)
: base(statMgr)
{
}
public override bool Enter(Dictionary<string, object> param, bool clearDelegates = false)
{
base.Enter(param, clearDelegates);
//string animName = m_char.GetAnimName("idle");
//if (m_char.PlayAnimationByName(animName) == -1f)
//{
// return false;
//}
return true;
}
public override bool CanTransition(enStat stat)
{
bool result = false;
if (stat == enStat.STAT_ACTION_DEAD)
{
result = true;
}
return result;
}
}
}