using UnityEngine;
using System.Collections;
using UnityEngine.VR;
public class OculusCorrect : MonoBehaviour {
void Start () {
}
// Update is called once per frame
void Update () {
if (Input.GetKeyDown(KeyCode.R))
{
InputTracking.Recenter();
}
}
}
Unity 5.x Oculus复位方法
最新推荐文章于 2024-02-01 16:09:21 发布