Quantcast
Viewing all articles
Browse latest Browse all 12131

Checking if a device has gyroscope

How can I check if the phone that the user is using has a gyroscope and thus support VR or not?

Once I check this I want to automatically run a non-VR Unity scene if the user's phone is not VR compatible. If it is compatible then I want to run a VR based Unity scene. I don't want to give the user an option like other apps give "[Headset Mode] [Standard Mode]"

Viewing all articles
Browse latest Browse all 12131

Trending Articles