37 lines
880 B
C#
37 lines
880 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class UI_ExamPanel : BasePanel
|
|
{
|
|
protected override void Awake()
|
|
{
|
|
base.Awake();
|
|
}
|
|
|
|
public override void ShowMe()
|
|
{
|
|
base.ShowMe();
|
|
}
|
|
|
|
public override void HideMe()
|
|
{
|
|
base.HideMe();
|
|
}
|
|
protected override void OnClick(string btnName)
|
|
{
|
|
Debug.Log(btnName);
|
|
switch (btnName)
|
|
{
|
|
case "retrun_Btn":
|
|
Bootstrap.Instance.uiManager.ShowPanel<UI_SelectModePanel>(this, E_UI_Layer.System, (panel) =>
|
|
{
|
|
Debug.Log("UI_ExamPanelÏÔʾ");
|
|
Bootstrap.Instance.uiManager.HidePanel<UI_ExamPanel>();
|
|
Bootstrap.Instance.uiManager.HidePanel<UI_MainTitlePanel>();
|
|
});
|
|
break;
|
|
}
|
|
}
|
|
}
|