private void LoadSemanticMesh() { StaticMeshScript.LoadSemanticMesh( () => { HintText.text = "Loading Objects..."; }, () => { StaticMeshScript.collisionMesh.SetActive(false); HintText.text = "Mesh Loaded!"; //vivesr_experience_controllerdelegate.gripdelegate += handlegrip_switchmode; //switchactionmode(actionmode.semanticobjectcontrol); } ); }
void LoadSemanticMesh() { StaticMeshScript.LoadSemanticMesh(LoadSemanticMesh_before, LoadSemanticMesh_done); }