소스 검색

VRHelper - Improve comment description

Carlos Landeras Martínez 7 년 전
부모
커밋
da53ac21cc
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Cameras/VR/babylon.vrExperienceHelper.ts

+ 1 - 1
src/Cameras/VR/babylon.vrExperienceHelper.ts

@@ -1408,7 +1408,7 @@ module BABYLON {
                 if (this._teleportationInitialized && this._isTeleportationFloor(hit.pickedMesh) && hit.pickedPoint) {
                     // Moving the teleportation area to this targetted point
 
-                    //Raise Mesh unselected event if we trigger the floor meshes and a non-floor mesh was previously selected
+                    //Raise onSelectedMeshUnselected observable if ray collided floor mesh/meshes and a non floor mesh was previously selected
                     if (this._currentMeshSelected &&
                         !this._isTeleportationFloor(this._currentMeshSelected)) {
                         this.onSelectedMeshUnselected.notifyObservers(this._currentMeshSelected);