Version: 2017.3

Gyroscope.updateInterval

切换到手册
public float updateInterval ;

描述

设置或检索陀螺仪间隔时间(以秒为单位)。

using UnityEngine;
using System.Collections;

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