How to change color?

I’m not sure if this is the correct place to put this but I’ve had this problem.

I don’t know how to change the colors on 3D objects, I just want a solid color, I looked up the C# codes for making it but all of them seem to be out dated and don’t work.

Help plz?

The main thing is you need a material (or more specifically a material using the right shader) that takes a color property you can set.

  1. Find GameObject.
  2. Get Renderer used by the GameObject.
  3. Get Material from the renderer.
  4. Set the color of material.
    Done
1 Like