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