29 lines
1.1 KiB
C#
29 lines
1.1 KiB
C#
using CG.Framework;
|
|
using System;
|
|
/********************************************************************************
|
|
*Create By CG
|
|
*Function 主页状态
|
|
*********************************************************************************/
|
|
namespace ZXK.GYJQR
|
|
{
|
|
public class TrainState : State
|
|
{
|
|
public TrainState(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("AZBSTotalOperationPanel", Type.GetType("ZXK.GYJQR.AZBSTotalOperationPanel"), UIGroup.Main);
|
|
}
|
|
else if(GameManager.Instance._CurSystemType == CG.UTility.EnumCtrl.SystemType.BJCZ)
|
|
{
|
|
UI_Manage.Instance.ShowPanel("BJCZTotalOperationPanel", Type.GetType("ZXK.GYJQR.BJCZTotalOperationPanel"), UIGroup.Main);
|
|
}
|
|
}
|
|
}
|
|
}
|