public void StateUpdate() { if (m_state != null && m_bRunbegin == false) { m_state.StateBegin(); m_bRunbegin = true; } if (m_state != null) { m_state.StateUpdate(); } }