コード例 #1
0
 // Use this for initialization
 public void Start()
 {
     _mo          = gameObject.GetComponent <MenuOverlord> ();
     textPrefab   = (GameObject)Resources.Load("Text/TextBlock");
     buttonPrefab = (GameObject)Resources.Load("Text/ButtonBlock");
     subMenuHolder.transform.parent = transform;
 }
コード例 #2
0
 void InitMenuManager()
 {
     _menuOverlord = GameObject.Find("MainMenu").GetComponent <MenuOverlord> ();
     _menuOverlord.GetLevelManager();
 }