using System.Collections; using System.Collections.Generic; using UnityEngine; public class TestDic : MonoBehaviour { TextMesh text; // Start is called before the first frame update void Start() { text = this.GetComponent(); } // Update is called once per frame void Update() { text.text = GSXRManager.Instance.head.position.ToString()+"\n"+ GSXRManager.Instance.leftCamera.transform.localPosition.x; } }