Gyroscope.updateInterval

public float updateInterval;

Description

Sets or retrieves gyroscope interval in seconds.

using UnityEngine;

public class Example : MonoBehaviour { void Start() { Input.gyro.updateInterval = 0.01f; } }

Did you find this page useful? Please give it a rating: