using System.Collections.Generic; using Fort23.Core; namespace Fort23.Mono { [UIBinding(prefab = "HerYuanManSuccessPanel")] public partial class HerYuanManSuccessPanel : UIPanel { private void Init() { } protected override void AddEvent() { } protected override void DelEvent() { } public override void AddButtonEvent() { Btn_Close.onClick.AddListener(() => { UIManager.Instance.HideUIUIPanel(this); }); } public async static CTask OpenPanel() { HerYuanManSuccessPanel heroBreakthroughSuccessPanel = await UIManager.Instance.LoadAndOpenPanel(null, UILayer.Top); return heroBreakthroughSuccessPanel; } } }