28 lines
581 B
C#
28 lines
581 B
C#
using UnityEngine.UI;
|
|
|
|
namespace Game;
|
|
|
|
[UIType(UIType.GameSceneHelpUI)]
|
|
public class GameSceneHelpUI : UIBase
|
|
{
|
|
private Button btn_Back;
|
|
|
|
public override void Init()
|
|
{
|
|
base.Init();
|
|
this.btn_Back = this.self.transform.FindChildDeep<Button>("btn_Back");
|
|
|
|
this.btn_Back.onClick.AddListener(this.ClickSureButton);
|
|
}
|
|
|
|
public override void Dispose()
|
|
{
|
|
base.Dispose();
|
|
this.btn_Back.onClick.RemoveListener(this.ClickSureButton);
|
|
}
|
|
|
|
private void ClickSureButton()
|
|
{
|
|
Game.uiManager.CloseLast();
|
|
}
|
|
} |