商店 基本完成
This commit is contained in:
@@ -15,7 +15,7 @@ export class ShopPageComp extends Component {
|
||||
let items=this.node.getChildByName("daily").getChildByName("items").children
|
||||
for(let i=0;i<items.length;i++){
|
||||
let goods=items[i]
|
||||
goods.getComponent(GoodsComp).update_data(this.daily_goods[i])
|
||||
goods.getComponent(GoodsComp).update_data(this.daily_goods[i],i)
|
||||
}
|
||||
}
|
||||
update(deltaTime: number) {
|
||||
|
||||
Reference in New Issue
Block a user