完成Config初步
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user