Пример #1
0
        private void AnchorControlFinish()
        {
            Debug.Log("Anchor Adujst finish!");
            if (inputManager != null)
            {
                //inputManager.StopCapture();
            }

            anchorController.RemoveCallbackFinish(AnchorControlFinish);

            anchorController.TurnOff();

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

            // 如果hololens存在,发送存储
            SaveAnchorToHololens();

            // 设置本地存储
            saveAnchorDirty = true;

            liveUI.isModifyAnchor = false;
            //panel.ShowBottomBar(true);
        }
Пример #2
0
        /// <summary>
        /// 调整Anchor结束
        /// </summary>
        private void AnchorMoveFinish()
        {
            startAnchorFitting = false;
            anchorController.RemoveCallbackFinish(AnchorMoveFinish);
            anchorController.TurnOff();

            inputManager.layerMask = oldLayerMask;
        }
Пример #3
0
        private void OnAnchorTurnOff()
        {
            Debug.Log("Live receive Anchor turn off!");

            anchorController.RemoveCallbackFinish(AnchorControlFinish);

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

            // 如果hololens存在,发送存储
            SaveAnchorToHololens();

            // 设置本地存储
            saveAnchorDirty = true;

            liveUI.isModifyAnchor = false;
            //panel.ShowBottomBar(true);
        }