- Home /
How to access TreeData
I am trying to access the TreeEditor.TreeData via script, to be able to modify e.g. the mesh of a particular leave.
In the debugger the data object of the Tree looks as follows:
However the api reference tells me, that data is a ScriptibleObject and in the code I can't access any Properties of data. The namespace TreeEditor seems to be not existent.
As I need this for my master thesis I would highly appreciate any comments on this topic!!
Answer by sfoust · Oct 22, 2018 at 06:49 PM
@mshroomhead Did you ever find a way to access TreeData in the Scriptible Object?
Your answer
![](https://koobas.hobune.stream/wayback/20220612124532im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Tree Distance, place tree with editor 2 Answers
Trying to use Blender Exported Object as a Terrain Tree Object 3 Answers
Why my trees appear with a square in game? 2 Answers
List appears null? C# 2 Answers
Are ScriptableObjects good for non-visualised models? 2 Answers