using UnityEngine; public class MinMapPos : MonoBehaviour { [SerializeField] private GameObject MinMapCanvas; void Awake() { MinMapCanvas = GameObject.Find("MinMapCanvas"); if (MinMapCanvas != null) { MinMapCanvas.transform.parent = OpenXRCamera.Instance.head; } } }