using System.Collections; using System.Collections.Generic; using UnityEngine; public class TestWorld : MonoBehaviour { // Start is called before the first frame update void Start() { // DontDestroyOnLoad(this.gameObject); } // Update is called once per frame void Update() { this.transform.localEulerAngles = GSXRManager.Instance.head.transform.InverseTransformVector(new Vector3(8,0,0)); } }