- Home /
Question by
ChristopherSullivan44 · Jun 10, 2016 at 03:16 PM ·
materialcolortreematerial color
How to get color from a Tree for Tree Instance?
Hi, does anyone know how to save the color of a material to be used in the TreeInstance method? I am wondering because generating a new TreeInstance requires a color or else the tree just turns out black or another pure solid color, and what I was hoping to do was save the color of the trees I can manually place and just use that color/material for the scripted trees.
An example of the code needed to set the color of the trees for TreeInstance() nextTree.color = Color.green;
Comment
Your answer
Follow this Question
Related Questions
Changing two different objects renderer colour 1 Answer
Material doesn't have a color property '_Color' 4 Answers
Change color of tree leaves? 0 Answers
Material color won't update! 2 Answers