static private TypeTree GenerateTypeTreeV9(SerializeAssetV09.SerializeTypeTreeData tree) { TypeTree root = new TypeTree(); root.name = tree.name; root.type = tree.type; root.metaFlag = tree.metaFlag; foreach (var childType in tree.children) { var childTree = GenerateTypeTreeV9(childType); root.AddChild(childTree); } return root; }