using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; using UnityEngine.InputSystem.UI; using UnityEngine.XR.Interaction.Toolkit.UI; public class LoadPrefab : Singleton { // Start is called before the first frame update public GameObject VR; public XRUIInputModule XRInputModule; public UnityEvent OnLoadComplete; void Start() { VR.SetActive(true); XRInputModule.enabled = true; OnLoadComplete?.Invoke(); } }