- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- public class FollowHead : MonoBehaviour
- {
- void Update()
- {
- this.transform.position = OpenXRCamera.Instance.head.position;
- this.transform.eulerAngles = OpenXRCamera.Instance.head.eulerAngles;
- }
- }
|