mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-07 16:45:10 +00:00
TE6 打飞机Demo
TE6 打飞机Demo
This commit is contained in:
15
UnityProject/Assets/GameScripts/GameEntry.cs
Normal file
15
UnityProject/Assets/GameScripts/GameEntry.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using TEngine;
|
||||
using UnityEngine;
|
||||
|
||||
public class GameEntry : MonoBehaviour
|
||||
{
|
||||
void Awake()
|
||||
{
|
||||
ModuleSystem.GetModule<IUpdateDriver>();
|
||||
ModuleSystem.GetModule<IResourceModule>();
|
||||
ModuleSystem.GetModule<IDebuggerModule>();
|
||||
ModuleSystem.GetModule<IFsmModule>();
|
||||
Settings.ProcedureSetting.StartProcedure().Forget();
|
||||
DontDestroyOnLoad(this);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user