using System.Collections; using System.Collections.Generic; using UnityEngine; public class OpenXRCamera : MonoBehaviour { public static OpenXRCamera Instance; public Transform head; void Awake() { if (Instance) { DestroyImmediate(gameObject); return; } Instance = this; } }