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); }
/// <summary> /// 调整Anchor结束 /// </summary> private void AnchorMoveFinish() { startAnchorFitting = false; anchorController.RemoveCallbackFinish(AnchorMoveFinish); anchorController.TurnOff(); inputManager.layerMask = oldLayerMask; }
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); }