Sets or retrieves gyroscope interval in seconds.
function Start () {
Input.gyro.updateInterval = 0.01;
}
using UnityEngine;
using System.Collections;
public class example : MonoBehaviour {
void Start() {
Input.gyro.updateInterval = 0.01F;
}
}
import UnityEngine
import System.Collections
class example(MonoBehaviour):
def Start():
Input.gyro.updateInterval = 0.01F