Browse Source

VRHelper - Improve comment description

Carlos Landeras Martínez 7 năm trước cách đây
mục cha
commit
da53ac21cc
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);