Exemple #1
0
    void Awake()
    {
        LoadXml.LoadTheXml();
        uiList = new List <BaseUI>();

        duelFieldUI = Resources.Load("Prefebs/DuelFieldUI") as GameObject;
        prepareUI   = Resources.Load("Prefebs/PrepareUI") as GameObject;

        editCardUI = EditUI.GetInstance();
        editCardUI.SetName(ComStr.UI_EditCardUI);
        loginUI = LoginUI.GetInstance();
        loginUI.SetName(ComStr.UI_LoginUI);
        gameHallUI = GameHallUI.GetInstance();
        gameHallUI.SetName(ComStr.UI_GameHallUI);


        uiList.Add(editCardUI);
        uiList.Add(loginUI);
        uiList.Add(gameHallUI);
    }
Exemple #2
0
 public GameHallUI()
 {
     instance = this;
 }