mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
23 lines
540 B
C#
23 lines
540 B
C#
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.Delay(TimeSpan.FromSeconds(2f));
|
|
UILoadMgr.HideAll();
|
|
}
|
|
}
|
|
} |