GyroscopeMovement.cs
This script works well with Samsung S5, and S6.
I've tested also with a Moto G4 which does not supports properly the Gyroscope.attitude Unity's attribute for some reason.
I've searched the specs and it may happen because it doesn't have compass or magnetometer.
To make a gyroscope works in this device and others, we should fix using rotationRateUnbiased or something like that.
As an utility script, we should fix it to work in any device with gyroscope.
GyroscopeMovement.cs
This script works well with Samsung S5, and S6.
I've tested also with a Moto G4 which does not supports properly the
Gyroscope.attitudeUnity's attribute for some reason.I've searched the specs and it may happen because it doesn't have compass or magnetometer.
To make a gyroscope works in this device and others, we should fix using
rotationRateUnbiasedor something like that.As an utility script, we should fix it to work in any device with gyroscope.