using UnityEngine;
|
using UnityEngine.UI;
|
|
namespace vnxbqy.UI
|
{
|
public class OpenServerActivityNotifyBase : MonoBehaviour
|
{
|
[SerializeField] protected Text titleText;
|
[SerializeField] protected Button gotoBtn;
|
[SerializeField] protected Button closeBtn;
|
|
private void Awake()
|
{
|
gotoBtn.AddListener(ClickGotoBtn);
|
closeBtn.AddListener(ClickCloseBtn);
|
}
|
|
protected virtual void Display()
|
{
|
|
}
|
|
protected virtual void ClickGotoBtn()
|
{
|
|
}
|
|
protected virtual void ClickCloseBtn()
|
{
|
this.SetActive(false);
|
}
|
}
|
}
|