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; } }
Sets or retrieves gyroscope interval in seconds.
using UnityEngine;
public class Example : MonoBehaviour { void Start() { Input.gyro.updateInterval = 0.01f; } }