12345678910111213141516171819202122 |
- 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;
- }
- }
|