public void OnClickDoneButton() { MainConsoleView view = GetView <MainConsoleView>(); MainConsoleModel model = GetModel <MainConsoleModel>(); BoundingBoxRig boundingBoxRig = view.GetComponent <BoundingBoxRig>(); boundingBoxRig.Deactivate(); model.State = MainConsoleStateEnum.Default; view.DoneAdjust(); }
public void OnClickAdjustButton() { MainConsoleView view = GetView <MainConsoleView>(); MainConsoleModel model = GetModel <MainConsoleModel>(); BoundingBoxRig boundingBoxRig = view.GetComponent <BoundingBoxRig>(); boundingBoxRig.Activate(); model.State = MainConsoleStateEnum.Manipulation; view.StartAdjust(); }