Commit 343efb3b by william

feat: order game node

parent a456cd7e
...@@ -29,6 +29,7 @@ cc.Class({ ...@@ -29,6 +29,7 @@ cc.Class({
classroom: { classroom: {
default: null, default: null,
type: cc.Node, type: cc.Node,
active: false,
}, },
// hand节点 // hand节点
...@@ -49,7 +50,7 @@ cc.Class({ ...@@ -49,7 +50,7 @@ cc.Class({
this.flirtAnimationTime = 0.5; //摸的动画时间(单向) this.flirtAnimationTime = 0.5; //摸的动画时间(单向)
// 奖Game组件的实例传入开始按钮 // 奖Game组件的实例传入开始按钮
var startBtn = this.node.getChildByName("start_btn"); var startBtn = cc.find("index/start_btn", this.node);
startBtn.getComponent('Start').game = this; startBtn.getComponent('Start').game = this;
......
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