GameLogic.ts 282 B

123456789101112
  1. import { GameLogicMgr } from "./logic";
  2. export class GameLogic extends cc.Component {
  3. protected update(dt: number): void {
  4. if (GameLogicMgr.inst.isGamePause) return;
  5. this.gameUpdate(dt);
  6. }
  7. protected gameUpdate(dt: number): void {
  8. };
  9. }