【msgpanel】按tab直接退出
parent
9bc67febc2
commit
857970f1a8
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue