How do I paint color onto Gameobjects

How do I paint color onto Gameobjects?
thank you!

1 Answer

1

hi, you will have to be a bit more specific with your question.

do you just want the gameobject to have some color?
renderer.material.color = Color.red;

or do you want to paint strokes on it, which is very complicated since you would have to project the strokes onto the gameobject, or generate textures during runtime.