[+] Procedure

[+] Procedure
This commit is contained in:
ALEXTANG
2023-04-13 14:37:49 +08:00
parent a6958f39e7
commit 51254bba57
29 changed files with 1077 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
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();
}
}
}