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; }
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); }