Is it possible detect iOS game is running on M1 Mac?
I would like to show instructions how to control the game with keyboard, if the game is running on Mac.
You may be better off making a Mac version, or supporting keyboard inputs on iPad. M1 Mac basically runs the iOS App in iPad flavor if no Mac Catalyst flavor is provided, which Unity has not supported yet.
The game already supports keyboard inputs. And I want let players know this by showing instructions for keyboard controls (instead of on-screen (touch) controls).
isiOSAppOnMac might work
@kaarloew , thank you!
My googling game was too weak. I couldn’t find it myself.
is this available on unity somehow? i can’t find it so i can do a bunch of ‘if’
That would require Unity to support it, so no. You can code it yourself.
It is now possible to detect if iOS app is running on Mac using Device.iosAppOnMac. Api is available in 2021.1, 2019.4. This api will be available in 2020.2 in near future.