Trevor Baron 6 年之前
父节点
当前提交
33d008f23e
共有 1 个文件被更改,包括 9 次插入9 次删除
  1. 9 9
      src/Cameras/XR/webXRDefaultExperience.ts

+ 9 - 9
src/Cameras/XR/webXRDefaultExperience.ts

@@ -83,22 +83,22 @@ export class WebXRDefaultExperience {
     private constructor() {
 
     }
-    
+
     /**
      * DIsposes of the experience helper
      */
     public dispose() {
-        if(this.baseExperience){
-            this.baseExperience.dispose()
+        if (this.baseExperience) {
+            this.baseExperience.dispose();
         }
-        if(this.input){
-            this.input.dispose()
+        if (this.input) {
+            this.input.dispose();
         }
-        if(this.enterExitUI){
-            this.enterExitUI.dispose()
+        if (this.enterExitUI) {
+            this.enterExitUI.dispose();
         }
-        if(this.outputCanvas){
-            this.outputCanvas.dispose()
+        if (this.outputCanvas) {
+            this.outputCanvas.dispose();
         }
     }
 }