Tasharen Entertainment Forum
Support => TNet 3 Support => Topic started by: col000r on June 15, 2016, 10:35:06 AM
-
Is there a way to add DataNodes to other DataNodes as values?
If I use SetHierarchy to create the whole DataNode I can then iterate through the entire thing and get DataNodes for all my branches and iterate through those, BUT if I create individual DataNodes and then add those to the main DataNode (node.AddChild( "blah", otherNode ) this doesn't work. What am I doing wrong?
-
Yes. DataNode.ReplaceChild.
-
Thank you very much!