【关闭多点触控】
parent
96475f3085
commit
6ab4fd2495
|
@ -9,6 +9,9 @@ local this = Game
|
||||||
function Game.Initialize()
|
function Game.Initialize()
|
||||||
math.randomseed(os.time())
|
math.randomseed(os.time())
|
||||||
|
|
||||||
|
-- 关闭多点触控
|
||||||
|
UnityEngine.Input.multiTouchEnabled = false
|
||||||
|
--
|
||||||
this.CurPlatform = tostring(UnityEngine.Application.platform)
|
this.CurPlatform = tostring(UnityEngine.Application.platform)
|
||||||
U3d.Application.runInBackground = true
|
U3d.Application.runInBackground = true
|
||||||
Screen.sleepTimeout = U3d.SleepTimeout.NeverSleep
|
Screen.sleepTimeout = U3d.SleepTimeout.NeverSleep
|
||||||
|
|
Loading…
Reference in New Issue