浏览代码

Merge pull request #3532 from CarlosLanderas/lande/vrhelper-improve-comment

VRHelper - Improve comment description
David Catuhe 7 年之前
父节点
当前提交
7564e2f3dc
共有 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);