26 lines
474 B
C#
26 lines
474 B
C#
|
using System.Collections;
|
|||
|
using System.Collections.Generic;
|
|||
|
using UnityEngine;
|
|||
|
using UnityEngine.UI;
|
|||
|
|
|||
|
public class PublicPanel : BasePanel
|
|||
|
{
|
|||
|
//<2F>ر<EFBFBD>
|
|||
|
public Button btnClose;
|
|||
|
//<2F><><EFBFBD><EFBFBD><EFBFBD>ĵ<EFBFBD>
|
|||
|
public Text txtPubLic;
|
|||
|
|
|||
|
public override void Init()
|
|||
|
{
|
|||
|
btnClose.onClick.AddListener(() =>
|
|||
|
{
|
|||
|
UIManager.Instance.HidePanel<PublicPanel>();
|
|||
|
});
|
|||
|
}
|
|||
|
|
|||
|
public void UpdatePanel(string str)
|
|||
|
{
|
|||
|
txtPubLic.text = str;
|
|||
|
}
|
|||
|
}
|