public override void OnCreate()
 {
     base.OnCreate();
     _viewController = PeViewStudio.CreateViewController(ViewControllerParam.DefaultCharacter);
     _viewController.SetLocalPos(PeViewStudio.s_ViewPos);
     _viewController.name = "ViewController_Servant";
     _viewController.gameObject.SetActive(false);
     InitGrid();
 }
    void InitBodyCamera()
    {
        //mTakeEqPhotho = new TakeEquipmentPhoto();
        //mTakeEqPhotho.Init(new Vector3(-300, -1000, -2000));

        _viewController = PeViewStudio.CreateViewController(ViewControllerParam.DefaultCharacter);
        _viewController.SetLocalPos(PeViewStudio.s_ViewPos);
        _viewController.name = "ViewController_NPCEquip";
        //_viewController.gameObject.SetActive(false); // this is invoked in Start, _viewController should be active.
        UpdateBodyCamera();
    }
    public override void OnCreate()
    {
        base.OnCreate();
        _viewController = PeViewStudio.CreateViewController(ViewControllerParam.DefaultCharacter);
        _viewController.SetLocalPos(PeViewStudio.s_ViewPos);
        _viewController.name = "ViewController_Player";
        _viewController.gameObject.SetActive(false);
        InitGrid();

        if (MainPlayerCmpt.gMainPlayer != null)
        {
            MainPlayerCmpt.gMainPlayer.onDurabilityDeficiency += DurabilityDeficiencyTip;
        }
    }