cc
This commit is contained in:
@@ -42,7 +42,7 @@ export class VictoryComp extends CCComp {
|
||||
let item2 =Items[reward2[1]]
|
||||
let r1_num=0
|
||||
let r2_num=0
|
||||
console.log("getReward:",reward,item1,item2)
|
||||
console.log("getReward:",item1,item2)
|
||||
this.node.getChildByName("Node").getChildByName("item2").getChildByName("num").getComponent(Label).string=item1.r_num.toString()
|
||||
this.node.getChildByName("Node").getChildByName("item2").getChildByName("name").getComponent(Label).string=item1.name.toString()
|
||||
this.node.getChildByName("Node").getChildByName("item3").getChildByName("num").getComponent(Label).string=item2.r_num.toString()
|
||||
|
||||
Reference in New Issue
Block a user