Quantcast
Channel: Answers by "Pharaoh_"
Viewing all articles
Browse latest Browse all 54

Answer by Pharaoh_

$
0
0
If you have the color already, I do not see how this would be a problem! Simply get your object's Light component, GetComponent(), and change its color value to your color. //Let's say that the color picker returns a Color type. Color newLightColor = ColorPicker.GetSelectedColor(); //Your "light" game object go.GetComponent().color = newLightColor;

Viewing all articles
Browse latest Browse all 54

Trending Articles



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