示例#1
0
        void LoadSemanticMesh_done()
        {
            if (StaticMeshScript.collisionMesh)
            {
                StaticMeshScript.collisionMesh.SetActive(false);
            }

            HintText.text  = "Mesh Loaded!";
            LoadText.color = OriginalColor;
            ViveSR_SceneUnderstanding.ShowAllSemanticBoundingBoxAndIcon();
            StaticMeshScript.ShowAllSemanticCollider();
            currentShowing = 0;
            ViveSR_Experience_ControllerDelegate.gripDelegate += HandleGrip_SemanticObjOperation;
            GripCanvas.SetActive(true);
        }