description import UIView from "../../framework/ui/UIView" ; import { Manager } from "../manager/Manager" ; description const { ccclass , property } = cc . _decorator ; @ ccclass export default class GameView extends UIView { onLoad ( ) { Manager . gameView = this ; super . onLoad ( ) ; } onDestroy ( ) { if ( this . audioHelper ) { this . audioHelper . stopAllEffects ( ) ; } Manager . gameView = null ; super . onDestroy ( ) ; } }