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