示例#1
0
 /// <summary>
 /// 开始调整Anchor
 /// </summary>
 private void StartSetAnchor()
 {
     startAnchorFitting = true;
     Debug.Log("Start fit!");
     anchorController.AddCallbackFinish(AnchorMoveFinish);
     anchorController.TurnOn();
 }
示例#2
0
 private void SpatialFit()
 {
     Debug.Log("Start fit!");
     //BindInput(false);
     anchorController.AddCallbackFinish(AnchorMoveFinish);
     anchorController.TurnOn();
     beginAdjustAnchor = true;
 }
示例#3
0
        public void StartMoveAnchor()
        {
            //panel.ShowBottomBar(false);
            liveUI.isModifyAnchor = true;

            // 先停止同步
            SetHololensSynchronize(false);

            if (cbStartMoveAnchor != null)
            {
                cbStartMoveAnchor();
            }

            anchorController.AddCallbackFinish(AnchorControlFinish);
            StartCoroutine(StartSceneAnchorController());
        }
示例#4
0
        private void OnAnchorTurnOn()
        {
            Debug.Log("Live receive Anchor turn on!");
            //panel.ShowBottomBar(false);
            liveUI.isModifyAnchor = true;

            // 先停止同步
            SetHololensSynchronize(false);

            if (cbStartMoveAnchor != null)
            {
                cbStartMoveAnchor();
            }

            anchorController.AddCallbackFinish(AnchorControlFinish);
        }