mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-07 16:45:10 +00:00
Init TEngine4.0.0
Init TEngine4.0.0
This commit is contained in:
@@ -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.Yield();
|
||||
UILoadMgr.HideAll();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user