Пример #1
0
    void SetLabelText(int msgID)
    {
        Tab_Popup msg = TableManager.GetPopupByID(msgID);

        if (msg == null)
        {
            Debug.LogError("Msg is Null ID: " + msgID);
            return;
        }
        this.GetComponent <SplashController> ().LabelLoading.GetComponent <UILabel> ().text = msg.Content;
    }
Пример #2
0
    public static void showMessageByID(int id)
    {
        Tab_Popup msg = TableManager.GetPopupByID(id);

        if (msg == null)
        {
            Debug.LogError("Msg is Null ID: " + id);
            return;
        }
        string content = msg.Content;

        show(int.Parse(msg.Type), content, msg.Title);
    }