public void SetCollectionFsmState( eCollectionFsmStateType _type, AsIMessage _msg) { if( m_CurrentFsmState != null) { if( m_CurrentFsmState.FsmStateType == _type) { Debug.LogWarning( "AsOtherUserFsm::SetOtherUserFsmState: same state = " + _type); return; } m_CurrentFsmState.Exit(); m_OldFsmState = m_CurrentFsmState; } if( m_dicFsmState.ContainsKey( _type) == true) { state_ = _type; m_CurrentFsmState = m_dicFsmState[_type]; m_CurrentFsmState.Enter( _msg); } }
public void SetCollectionFsmState( eCollectionFsmStateType _type) { SetCollectionFsmState( _type, null); }