Commit 25efb16e authored by huoshizhe's avatar huoshizhe

feat:

parent 6481b317
{ {"ver":"1.1.2","uuid":"c35bb2f6-f24a-4850-ae44-643f2fdc7541","isBundle":false,"bundleName":"","priority":1,"compressionType":{},"optimizeHotUpdate":{},"inlineSpriteFrames":{},"isRemoteBundle":{"ios":false,"android":false},"subMetas":{}}
"ver": "1.1.2", \ No newline at end of file
"uuid": "c35bb2f6-f24a-4850-ae44-643f2fdc7541",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {
"ios": false,
"android": false
},
"subMetas": {}
}
\ No newline at end of file
...@@ -41,7 +41,7 @@ export default class PS_001_Ctrl extends cc.Component { ...@@ -41,7 +41,7 @@ export default class PS_001_Ctrl extends cc.Component {
PS_001_handManager.getIns().init(this.head) PS_001_handManager.getIns().init(this.head)
PS_001_Ctrl.ins = this PS_001_Ctrl.ins = this
window['PS_001_handManager']=this window['PS_001_handManager']=this
this.toNext(0) // this.toNext(0)
} }
toNext(arg0: number) { toNext(arg0: number) {
...@@ -49,12 +49,12 @@ export default class PS_001_Ctrl extends cc.Component { ...@@ -49,12 +49,12 @@ export default class PS_001_Ctrl extends cc.Component {
arg0 = 0 arg0 = 0
this.time++ this.time++
} }
if (this.time == 2) { // if (this.time == 2) {
this.ShowNode = cc.instantiate(this.allScene[arg0]) // this.ShowNode = cc.instantiate(this.allScene[arg0])
this.node.addChild(this.ShowNode) // this.node.addChild(this.ShowNode)
this.ShowNode.getComponent('PS_001_scene' + (arg0 + 1)).init(this.carema, this) // this.ShowNode.getComponent('PS_001_scene' + (arg0 + 1)).init(this.carema, this)
return; // return;
} // }
this.ShowNode = cc.instantiate(this.allScene[arg0]) this.ShowNode = cc.instantiate(this.allScene[arg0])
this.node.addChild(this.ShowNode) this.node.addChild(this.ShowNode)
this.ShowNode.getComponent('PS_001_scene' + (arg0 + 1)).init(this.carema, this) this.ShowNode.getComponent('PS_001_scene' + (arg0 + 1)).init(this.carema, this)
......
...@@ -251,7 +251,7 @@ export default class PS_001_scene1 extends cc.Component { ...@@ -251,7 +251,7 @@ export default class PS_001_scene1 extends cc.Component {
this.rightrabbit.getComponent(dragonBones.ArmatureDisplay).playAnimation('question', 0) this.rightrabbit.getComponent(dragonBones.ArmatureDisplay).playAnimation('question', 0)
this.tweenary.push(cc.tween(this.camera).delay(2).call(() => { this.tweenary.push(cc.tween(this.camera).delay(2).call(() => {
console.log('进入') console.log('进入')
this.parent.toNext(1) this.parent.toNext(7)
this.node.destroy() this.node.destroy()
}).start()) }).start())
......
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