继续推进Config更新, 并修复了打击效果中的Position未初始化的漏洞

This commit is contained in:
2025-12-19 16:46:54 +08:00
parent a8b8b82e92
commit a155e37c0a
5 changed files with 63 additions and 4 deletions

View File

@@ -102,6 +102,7 @@ namespace Demo.Game
sub.SetActive(false);
Prefabs.Add(levelId, sub);
sub.transform.SetParent(transform);
sub.transform.localPosition = Vector3.zero;
AssetBundles.Add(levelId, ab);
Durations.Add(levelId, duration);
}));