Exemple #1
0
 public override void SingletonInit()
 {
     transform.SetParent(GameRoot.Instance().transform);
     m_box     = AddGameObject("box");
     m_panel   = AddGameObject("panel");
     m_dialog  = AddGameObject("dialog");
     m_overlay = AddGameObject("overlay");
 }
Exemple #2
0
 public override void SingletonInit()
 {
     transform.SetParent(GameRoot.Instance().transform);
 }