GameMode.js 417 B

1234567891011121314151617181920212223
  1. cc.Class({
  2. extends: require("BaseGameMode"),
  3. properties: {
  4. },
  5. onLoad() {
  6. this._gamestart = this.gamestart;
  7. this._initgame = this.initgame;
  8. },
  9. start() {
  10. cc.resources.loadDir("prefab/Interface", (completeCount, totalCount) => {
  11. });
  12. cc.resources.loadDir("prefab/Result", (completeCount, totalCount) => {
  13. });
  14. },
  15. // update (dt) {},
  16. });