How do we detect if app is running on MAC or device?
TwistedMech
Member Posts: 408
I am working on a game which uses the accelerometer. Problem is that it will be 0 if running on a MAC and on my actor, I constrain this value to a variable. At the moment I have a game var IsOnMAC true/false which I set when testing on iphone or mac but want to set this automatically.
Anyone have any ideas?
Anyone have any ideas?
Comments
If accelerometer ≠ 0, then constrain attribute to accelerometer