23 lines
516 B
C#
Raw Normal View History

2025-04-18 19:18:15 +08:00
using System;
using Cysharp.Threading.Tasks;
using TEngine;
namespace GameMain
{
public class ProcedureStartGame : ProcedureBase
{
public override bool UseNativeDialog { get; }
protected override void OnEnter(IFsm<IProcedureManager> procedureOwner)
{
base.OnEnter(procedureOwner);
StartGame().Forget();
}
private async UniTaskVoid StartGame()
{
await UniTask.Yield();
UILoadMgr.HideAll();
}
}
}