Commit 1d1a2441 authored by 范雪寒's avatar 范雪寒

feat: ps001

parent 01f9dba1
...@@ -4,7 +4,7 @@ cc.Class({ ...@@ -4,7 +4,7 @@ cc.Class({
getData(callBack) { getData(callBack) {
const scene = cc.director.getScene(); const scene = cc.director.getScene();
if (scene.name == 'PS_000') { if (scene.name == 'PS_001') {
if (!this.saveData) { if (!this.saveData) {
this.saveData = { step: 0 }; this.saveData = { step: 0 };
} }
...@@ -34,8 +34,8 @@ cc.Class({ ...@@ -34,8 +34,8 @@ cc.Class({
cc.audioEngine.stopAll(); cc.audioEngine.stopAll();
console.log(`this.loadOnlineBundle('PS_000');`); console.log(`this.loadOnlineBundle('PS_001');`);
this.loadOnlineBundle('PS_000'); this.loadOnlineBundle('PS_001');
// this.loadLocalBundle('192.168.1.102', '8081'); // this.loadLocalBundle('192.168.1.102', '8081');
// cc.director. // cc.director.
return; return;
...@@ -75,7 +75,7 @@ cc.Class({ ...@@ -75,7 +75,7 @@ cc.Class({
this.initListener(); this.initListener();
this.loadOnlineBundle('PS_000'); this.loadOnlineBundle('PS_001');
// this.loadLocalBundle('192.168.1.102', '8081'); // this.loadLocalBundle('192.168.1.102', '8081');
// const addressText = cc.find('middleLayer/ui/address'); // const addressText = cc.find('middleLayer/ui/address');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment