Universal Unity WebAR - Gyro Check


#1

Hey there!

Is there any way to check if the device that is being used supports a gyroscope within Unity3D

I noticed there was this in the docs

but I can’t find a equivalent check to this code within the Universal AR SDK for Unity3D?

Cheers
Jeff


#2

Hi @jeff,

You can check if the gyroscope is available on the device via SystemInfo.supportsGyroscope

Hope this helps,
Deim