public void SetCombatState(eCombatStateType _type, AsIMessage _msg) { // if(m_CombatState.FsmStateType != _type) // { combat_ = _type; m_CombatState.Exit(); m_CombatState = m_dicCombatState[_type]; m_CombatState.Enter(_msg); // } }
public override void Init(AsBaseEntity _entity) { base.Init(_entity); // m_Entity = GetComponent<AsBaseEntity>(); // if(m_Entity == null) // { // Debug.LogError("AsPropertyDelayer_Combat::Init: no entity attached"); // return; // } m_CombatState = m_dicCombatState[eCombatStateType.IDLE]; }