CultivationOfBrewing/Assets/Scripts/UI/UIPanel/UI_StepsPanel.cs

40 lines
990 B
C#
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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<UI_StepsPanel>(this, E_UI_Layer.System, (panel) =>
{
Debug.Log("UI_StepsPanelÒѾ­ÏÔʾÔÚ" + E_UI_Layer.System);
Bootstrap.Instance.uiManager.HidePanel<UI_TipsForPracticePanel>();
});
//Bootstrap.Instance.uiManager.HidePanel<UI_TipsForPracticePanel>();
break;
default:
break;
}
}
}