Revert "小游戲修改提交"

This reverts commit ec83a6301a.
dev_chengFeng
jiaoyangna 2021-05-31 10:41:12 +08:00
parent ec83a6301a
commit 05279cc3c1
1 changed files with 2 additions and 2 deletions

View File

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