1234567891011121314151617 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- public class CheckHight : MonoBehaviour
- {
-
- void Start()
- {
- Invoke("yidong",1f);
- }
- void yidong()
- {
- this.transform.position = new Vector3(0,OpenXRCamera.Instance.head.position.y,0);
- }
- }
|