继续推进Config更新, 并修复了打击效果中的Position未初始化的漏洞
This commit is contained in:
@@ -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);
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user