26 lines
576 B
C#
26 lines
576 B
C#
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
namespace TH1_UI.View.Announce
|
|
{
|
|
public class UIAnnounceMajorEventView : Base.View
|
|
{
|
|
public Button closeButton;
|
|
public ViDelegateAssisstant.Dele OnBtnCloseClick;
|
|
protected override void InitStart()
|
|
{
|
|
base.InitStart();
|
|
closeButton.onClick.RemoveAllListeners();
|
|
closeButton.onClick.AddListener(() => { OnBtnCloseClick.Invoke(); });
|
|
}
|
|
|
|
public void SetContent(string title, string content)
|
|
{
|
|
Debug.Log("Text SetContent Already!!!!!!!");
|
|
//titleText.text = title;
|
|
//contentText.text = content;
|
|
}
|
|
}
|
|
|
|
}
|