阶段1/UpdateScheduler调度器优化, 未嵌入

This commit is contained in:
2025-12-01 17:35:46 +08:00
parent a8adb45952
commit 07fa883537
7 changed files with 622 additions and 0 deletions

View File

@@ -15,6 +15,8 @@ namespace Demo.Game
[Content] public GameController RootGameController;
public string SourcePath;
[Content] public UpdateScheduler Scheduler = new UpdateScheduler();
protected override IEnumerator DoSomethingDuringApplyScript()
{
@@ -32,6 +34,10 @@ namespace Demo.Game
{
Keyboard.current.onTextInput -= InputCatchChar;
}
// 清理调度器
Scheduler?.Clear();
yield return base.UnloadScript();
}