/// <summary> /// 开始调整Anchor /// </summary> private void StartSetAnchor() { startAnchorFitting = true; Debug.Log("Start fit!"); anchorController.AddCallbackFinish(AnchorMoveFinish); anchorController.TurnOn(); }
private void SpatialFit() { Debug.Log("Start fit!"); //BindInput(false); anchorController.AddCallbackFinish(AnchorMoveFinish); anchorController.TurnOn(); beginAdjustAnchor = true; }
public void StartMoveAnchor() { //panel.ShowBottomBar(false); liveUI.isModifyAnchor = true; // 先停止同步 SetHololensSynchronize(false); if (cbStartMoveAnchor != null) { cbStartMoveAnchor(); } anchorController.AddCallbackFinish(AnchorControlFinish); StartCoroutine(StartSceneAnchorController()); }
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); }