Unity 5.3 how recenter camera VR
Hi, a simple question
How to recetner normal VR camera in Unity 5.3?
I am starting with, but gives an error
How to recetner normal VR camera in Unity 5.3?
I am starting with, but gives an error
using UnityEngine;
using System.Collections;
using VR= UnityEngine.VR;
public class recenter : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
if (Input.GetKeyDown (KeyCode.R)) {
VR.InputTracking.Recenter ();
}
}
}
