【自选宝箱需求修改】

dev_chengFeng
DESKTOP-98AVA47\Administrator 2021-01-11 15:36:18 +08:00
parent bd6ba2fa29
commit 944789bec3
1 changed files with 1 additions and 0 deletions

View File

@ -173,6 +173,7 @@ function RewardBoxPanel:SetTopBar()
for n = 0, this.selectBar.transform.childCount-1 do--设置当前页签
Util.AddClick(this.selectBar.transform:GetChild(n).gameObject,function()
curId = 0
RewardBoxPanel:SetGiftData(n+1)
this.selectBtn.transform.parent = this.selectBar.transform:GetChild(n).transform
this.selectBtn.transform.localPosition = Vector3.zero