【msgpanel】按tab直接退出

dev_chengFeng
ZhangBiao 2021-01-28 14:26:14 +08:00
parent 9bc67febc2
commit 857970f1a8
1 changed files with 2 additions and 2 deletions

View File

@ -36,9 +36,9 @@ local update = function()
-- 临时退出游戏代码
if not AppConst.isSDK and Input.GetKeyDown(UnityEngine.KeyCode.Tab) then
MsgPanel.ShowTwo("您确定要重新登录?", nil, function()
-- MsgPanel.ShowTwo("您确定要重新登录?", nil, function()
Game.Logout()
end)
-- end)
end
if Input.GetMouseButtonUp(0) then