40 lines
990 B
C#
40 lines
990 B
C#
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;
|
||
}
|
||
}
|
||
}
|