21 lines
507 B
C#
21 lines
507 B
C#
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using ZXKFramework;
|
|
|
|
public class ModeSelectionState : StateBase
|
|
{
|
|
public override void OnEnter(params object[] obj)
|
|
{
|
|
base.OnEnter(obj);
|
|
Game.Instance.uiManager.ShowUIAndCloseOther<ModeSelectionPanel>();
|
|
Game.Instance.uiManager.ShowUI<Result>();
|
|
}
|
|
public override void OnExit()
|
|
{
|
|
base.OnExit();
|
|
Game.Instance.uiManager.CloseUI<Result>();
|
|
}
|
|
}
|