Quantcast
Channel: Questions in topic: "tree"
Viewing all articles
Browse latest Browse all 513

How do I access Tree data in runtime?

$
0
0
I'm trying to find the vectors of the branches/leaves of my tree, at runtime. I can inspect myTree.data in the debugger, and I see it there, but I'm not sure how to access it. Tree.data is a ScriptableObject, so it seems like I would need to cast it to TreeEditor.TreeData, but namespace TreeEditor doesn't seem to exist anymore? Anyone know how to get the data out of Tree.data?

Viewing all articles
Browse latest Browse all 513

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>