12345678910111213141516171819 |
- 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<TextMesh>();
- }
- // Update is called once per frame
- void Update()
- {
- text.text = GSXRManager.Instance.head.position.ToString()+"\n"+ GSXRManager.Instance.leftCamera.transform.localPosition.x;
- }
- }
|