How do I access Tree data in runtime?
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?
Answer by mshroomhead · Jun 20, 2017 at 09:56 AM
@Dr_Fragg Hi there, any progress on this topic? I desperately try to access the tree data, too.
Your answer
Follow this Question
Related Questions
Tree Editor: Bark Textures downsize when "Optimized Bark Material" is created 0 Answers
Problems with stencil / spawn objects @ stencil position 0 Answers
EditorWindow : ScriptableObject modifications not updated/applied 1 Answer
Removing a property / field from ScriptableObject class 1 Answer
How do you assign the value of a ScriptableObject (from asset) to a component variable? 0 Answers