少年修仙传客户端基础资源
lwb
2020-11-11 ba24a4a15c0317ac2fd954f4173b4b79cbdf191e
Assets/Plugins/PocoSDK/sdk/AbstractDumper.cs
@@ -24,7 +24,8 @@
      private Dictionary<string, object> dumpHierarchyImpl (AbstractNode node, bool onlyVisibleNode)
      {
         if (node == null) {
            if (node == null)
            {
            return null;
         }
@@ -35,12 +36,15 @@
         result.Add ("payload", payload);
         List<object> children = new List<object> ();
         foreach (AbstractNode child in node.getChildren()) {
            if (!onlyVisibleNode || (bool)child.getAttr ("visible")) {
            foreach (AbstractNode child in node.getChildren())
            {
                if (!onlyVisibleNode || (bool)child.getAttr("visible"))
                {
               children.Add (dumpHierarchyImpl (child, onlyVisibleNode));
            }
         }
         if (children.Count > 0) {
            if (children.Count > 0)
            {
            result.Add ("children", children);
         }
         return result;