rise-and-swine/Assets/Scripts
Chipmunk 8dabc472f7 Fix touchscreen input on anything that isn't Android or iOS
Previously, to check if touch input should be used, the game checked if the runtime platform was Android or iOS. As such, using a mouse on these platforms (well, Android, did not test iOS) does not work. On other platforms, touch input appeared to work, however since it was technically mouse input features, some things, such as zooming in and out of levels did not work. This commit should fix that for all platforms.

Instead of checking the runtime platform, now, it checks if the device supports touchscreen (regardless of platform), and if there is at least one current touch. As such, both types of input should now be supported on all platforms. (this was tested on a windows 8.1 tablet pc)
2023-10-03 22:40:58 -04:00
..
Assembly-CSharp Fix touchscreen input on anything that isn't Android or iOS 2023-10-03 22:40:58 -04:00
Assembly-CSharp-firstpass Initial unity project 2023-02-25 23:04:03 -05:00
Pathfinding.JsonFx Initial unity project 2023-02-25 23:04:03 -05:00
Assembly-CSharp-firstpass.meta Initial unity project 2023-02-25 23:04:03 -05:00
Assembly-CSharp.meta Initial unity project 2023-02-25 23:04:03 -05:00
Pathfinding.JsonFx.meta Initial unity project 2023-02-25 23:04:03 -05:00