コード例 #1
0
        private void StartSpatialMapping()
        {
            SpatialMappingManager.Instance.DrawVisualMeshes = true;
            SpatialMappingManager.Instance.StartObserver();
            PulseManager.Instance.StartPulse(GazeManager.Instance.HitPosition);

            m_UIParent.GetComponent <BoxCollider>().enabled           = true;
            m_UIParentBackPanel.GetComponent <MeshRenderer>().enabled = true;
            m_assistant.SetActive(true);

            TapToPlace tapToPlace = m_UIParent.GetComponent <TapToPlace>();

            tapToPlace.IsBeingPlaced       = true;
            tapToPlace.OnPlacementChanged += TapToPlace_OnPlacementChanged;
        }
コード例 #2
0
 void Start()
 {
     Instance = this;
 }