This commit is contained in:
guoqing.zhu 2022-05-30 11:56:40 +08:00
parent 1bf83f56fe
commit 843f5b61ab
2 changed files with 6 additions and 2 deletions

View File

@ -47,8 +47,8 @@
},
"_scale": {
"__type__": "cc.Vec3",
"x": 0.583953857421875,
"y": 0.583953857421875,
"x": 0.743359386920929,
"y": 0.743359386920929,
"z": 1
},
"_quat": {

View File

@ -191,9 +191,13 @@ cc.Class({
if(v.weapons_stats){
if(v.weapons_stats[0]){
//gun1
this.gunt1Name.string = v.weapons_stats[0].weapon_name;
this.gun1_reward.string = v.weapons_stats[0].reward_ceg;
}
if(v.weapons_stats[1]){
//gun2
this.gunt2Name.string = v.weapons_stats[1].weapon_name;
this.gun2_reward.string = v.weapons_stats[1].reward_ceg;
}
}