MenuSceneLoader.cs 256 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 using System; using UnityEngine; public class MenuSceneLoader : MonoBehaviour { public GameObject menuUI; private GameObject m_Go; void Awake () { if (m_Go == null) { m_Go = Instantiate(menuUI); } } }