【关闭多点触控】

dev_chengFeng
gaoxin 2021-07-12 10:28:57 +08:00
parent 96475f3085
commit 6ab4fd2495
1 changed files with 3 additions and 0 deletions

View File

@ -9,6 +9,9 @@ local this = Game
function Game.Initialize()
math.randomseed(os.time())
-- 关闭多点触控
UnityEngine.Input.multiTouchEnabled = false
--
this.CurPlatform = tostring(UnityEngine.Application.platform)
U3d.Application.runInBackground = true
Screen.sleepTimeout = U3d.SleepTimeout.NeverSleep