using System.Collections; using System.Collections.Generic; using UnityEngine; public class CheckHight : MonoBehaviour { // Start is called before the first frame update void Start() { Invoke("yidong",1f); } void yidong() { this.transform.position = new Vector3(0,OpenXRCamera.Instance.head.position.y,0); } }