void DoChopping(MY_GAME_INPUTS gi) { if (HandleNewState()) { if (m_focusChoppingTable != null) { Transform newPos = m_focusChoppingTable.GetPlayerPos(); m_model.transform.position = newPos.position; m_model.transform.rotation = newPos.rotation; Main.AUDIO_Chopping(true); FullStop(); m_focusChoppingTable.Run(); } } if (m_focusChoppingTable == null || m_focusChoppingTable.Done()) { Main.AUDIO_Chopping(false); ChangeState(PLAYER_STATE.IDLE); } }