public bool CreatePoopRequest(int _poopNum) { m_status = RoomActionState.poop; bool createFlg = m_controller.CreatePoopRequest(_poopNum, m_saveCallback, () => { // endCallback m_status = RoomActionState.idle; }); if (!createFlg) { m_status = RoomActionState.idle; } return(createFlg); }