Remove/Add mobile controls when mobile is detected

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By jaskegreen

I’m super noob to creating games and programming, so wondering how to solve this issue. I added a joystick thumb controller that I’d like to remove if the device detected is a PC (or added if mobile). I saw someone suggested using OS.has_touchscreen_ui_hint(), but I have no idea how to implement it. I currently have mouse and keyboard controls working on a 3D game.

Thanks so much in advance for your help.

I Dont Think There Is A Way To???

cochise123 | 2020-10-27 09:47