SubWorld与LookAtAnchor Config更新

This commit is contained in:
2025-12-19 17:33:20 +08:00
parent a155e37c0a
commit 6c66a5c515
2 changed files with 30 additions and 4 deletions

View File

@@ -46,6 +46,8 @@ namespace Demo.Game
protected override IEnumerator DoSomethingDuringApplyScript()
{
yield return base.DoSomethingDuringApplyScript();
if (string.IsNullOrEmpty(GetConfig<ConfigType.SubWorldConfig>().project))
yield break;
var ir = SceneManager.LoadSceneAsync(Editor.EditorController.SceneName, LoadSceneMode.Additive);
ir.completed += x =>
{