Is it possible to check what console is running the game? For instance, with the same code, I’m hoping if I can say something like:
If I am running on mobile:
Use touch controls for menu and player switching
else if I am running on pc:
use arrow keys to highlight menu and qwe for player switching
else if I am running on ouya:
use left stick (automatically maps to arrow keys anyway) to highlight menu and uoa for player switching
The reason I would like to avoid relying on the type of build is because I’ll be compiling apk for mobile and ouya. Or heck if there’s even a better way of knowing other than a device name, I’m open to suggestions.
[EDIT] I have discovered this: Unity - Scripting API: RuntimePlatform
But unfortunately I want to be able to tell the difference between ouya and other android devices.