Files
jdt-fish-client/assets/FishSingle/script/game/scene/SceneBase.ts
2024-04-17 20:15:52 +08:00

32 lines
486 B
TypeScript

import { _decorator, Component } from 'cc'
import AdapterHelper from '../../engine/utils/AdapterHelper'
const { ccclass, property } = _decorator
@ccclass('SceneBase')
export default class SceneBase extends Component {
public static scriptName: string = 'SceneBase'
onLoad() {
AdapterHelper.fixApdater()
this.onLoadMe()
}
onLoadMe() {
}
start() {
this.onStartMe()
}
onStartMe() {
}
onDestroy() {
this.onDestroyMe()
}
onDestroyMe() {
}
}