This commit is contained in:
2025-06-11 14:39:52 -07:00
parent 683988fc97
commit 07e109eec3

View File

@@ -191,7 +191,7 @@ public class GamePlayer : MonoBehaviour
doRestart = true; doRestart = true;
} }
} }
if (Application.isMobilePlatform) else
{ {
var touches = UnityEngine.InputSystem.EnhancedTouch.Touch.activeTouches; var touches = UnityEngine.InputSystem.EnhancedTouch.Touch.activeTouches;
for (int i = 0; i < touches.Count; i++) for (int i = 0; i < touches.Count; i++)