using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class UI_StepsPanel : BasePanel { protected override void Awake() { base.Awake(); } public override void ShowMe() { base.ShowMe(); } public override void HideMe() { base.HideMe(); } protected override async void OnClick(string btnName) { Debug.Log(btnName); switch (btnName) { case "retrun_Btn": Bootstrap.Instance.uiManager.ShowPanel(this, E_UI_Layer.System, (panel) => { Debug.Log("UI_StepsPanelÒѾ­ÏÔʾÔÚ" + E_UI_Layer.System); Bootstrap.Instance.uiManager.HidePanel(); }); //Bootstrap.Instance.uiManager.HidePanel(); break; default: break; } } }