mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
TE6 打飞机Demo
TE6 打飞机Demo
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using Cysharp.Threading.Tasks;
|
||||
using Launcher;
|
||||
using TEngine;
|
||||
|
||||
namespace Procedure
|
||||
{
|
||||
public class ProcedureStartGame : ProcedureBase
|
||||
{
|
||||
public override bool UseNativeDialog { get; }
|
||||
|
||||
protected override void OnEnter(IFsm<IProcedureModule> procedureOwner)
|
||||
{
|
||||
base.OnEnter(procedureOwner);
|
||||
StartGame().Forget();
|
||||
}
|
||||
|
||||
private async UniTaskVoid StartGame()
|
||||
{
|
||||
await UniTask.Yield();
|
||||
LauncherMgr.HideAll();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user