예제 #1
0
    public void OnClickDoneButton()
    {
        MainConsoleView  view           = GetView <MainConsoleView>();
        MainConsoleModel model          = GetModel <MainConsoleModel>();
        BoundingBoxRig   boundingBoxRig = view.GetComponent <BoundingBoxRig>();

        boundingBoxRig.Deactivate();
        model.State = MainConsoleStateEnum.Default;
        view.DoneAdjust();
    }
예제 #2
0
    public void OnClickAdjustButton()
    {
        MainConsoleView  view           = GetView <MainConsoleView>();
        MainConsoleModel model          = GetModel <MainConsoleModel>();
        BoundingBoxRig   boundingBoxRig = view.GetComponent <BoundingBoxRig>();

        boundingBoxRig.Activate();
        model.State = MainConsoleStateEnum.Manipulation;
        view.StartAdjust();
    }