完成Config初步

This commit is contained in:
2025-12-17 15:50:03 +08:00
parent 60df9a93aa
commit 5a02de8c9c
14 changed files with 105 additions and 36 deletions

View File

@@ -238,7 +238,7 @@ namespace Demo.Game
{
if (Parent == null)
rootObjectCache = this as RootObject;
if (Parent is RootObject result)
else if (Parent is RootObject result)
rootObjectCache = result;
else
rootObjectCache = Parent.GetRoot();