woso_javan 1 month ago
parent
commit
8e5f3c9619
1 changed files with 0 additions and 3 deletions
  1. 0 3
      assets/module_aliens/Script/Components/ScreenShotComponent.ts

+ 0 - 3
assets/module_aliens/Script/Components/ScreenShotComponent.ts

@@ -19,9 +19,6 @@ export class ScreenShotComponent extends Component {
 
 
     async start() {
     async start() {
         this.registerEvent();
         this.registerEvent();
-        //获取相机组件 
-        // const camera = await this.getSceneCamera();
-        // this._originalTargetTexture = camera.targetTexture;
     }
     }
 
 
     private registerEvent(){
     private registerEvent(){