小游戲修改提交

dev_chengFeng
jiaoyangna 2021-05-29 17:19:52 +08:00
parent 80691b1a9e
commit ec83a6301a
1 changed files with 2 additions and 2 deletions

View File

@ -56,11 +56,11 @@ function this.Show()
Util.AddOnceClick(this.btnStart,function()
this.btnStart:GetComponent("Button").interactable = false
TrialMiniGameManager.GameOperate(0, function(msg)
--转起来
this.test(msg.drop.itemlist[1].itemId)
--转起来
id = msg.drop.itemlist[1].itemId
num = msg.drop.itemlist[1].itemNum
LogYellow("掉落的Id:"..id.." 数量:"..num)
this.test(msg.drop.itemlist[1].itemId)
--4秒后显示掉落
-- Timer.New(function()
-- if TrialMiniGameManager.IsGameDone() then