29 lines
1.0 KiB
C#
29 lines
1.0 KiB
C#
using CG.Framework;
|
|
using System;
|
|
/********************************************************************************
|
|
*Create By CG
|
|
*Function 主页状态
|
|
*********************************************************************************/
|
|
namespace ZXK.GYJQR
|
|
{
|
|
public class ExamState : State
|
|
{
|
|
public ExamState(StateContext stateContext) : base(stateContext)
|
|
{
|
|
}
|
|
|
|
public override string _SceneName => GameManager.Instance._CurSystemType.ToString() + "TrainExam";
|
|
public override void EnterState()
|
|
{
|
|
if (GameManager.Instance._CurSystemType == CG.UTility.EnumCtrl.SystemType.AZBS)
|
|
{
|
|
UI_Manage.Instance.ShowPanel("AZBSExamPanel", Type.GetType("ZXK.GYJQR.AZBSExamPanel"), UIGroup.Main);
|
|
}
|
|
else if (GameManager.Instance._CurSystemType == CG.UTility.EnumCtrl.SystemType.BJCZ)
|
|
{
|
|
UI_Manage.Instance.ShowPanel("BJCZExamPanel", Type.GetType("ZXK.GYJQR.BJCZExamPanel"), UIGroup.Main);
|
|
}
|
|
}
|
|
}
|
|
}
|