Is there any way to detect through a script if the player is from a PC or a mobile device?
This would help a lot to activate or deactivate switches, functions, objects, mechanics, options for one platform or another and not have to generate a different project for each platform.
for instance:
If player is from android:
- activate on-screen controls
- activate switch 1
If it is from pc:
- Disable on-screen controls
- Deactivate switch 1
any ideas? Thank you.
This would help a lot to activate or deactivate switches, functions, objects, mechanics, options for one platform or another and not have to generate a different project for each platform.
for instance:
If player is from android:
- activate on-screen controls
- activate switch 1
If it is from pc:
- Disable on-screen controls
- Deactivate switch 1
any ideas? Thank you.