I added a plane gameobject to scene.
How can I change its color?
I added a plane gameobject to scene.
How can I change its color?
Create a material, and add it to the object (or just modify the material it already has…).
But please, the question is simply too basic to be something you would ask in here. You should read the manual. At least the basics…!
Good luck
Give it a material and change the color of the material.
Ha, Kragh and I wrote it at the same time.
Thanks, but I just think whether it needs a script to do it
No script is required. That page is from the scripting reference. You should read this page for how to do it by hand in the editor.
i have no idea how to do it, i tried ALL of your suggestions and none worked. please help, im really stuck.
I know this is from 2010 but I had the same issue.
The problem was that there was no directional light (or any light) in the scene (usually one is autoincluded in a unity scene but I removed it while fiddling with the scene).
A plane usually starts white but with no light it was pitch black and I was confused. Hope this helped anyone in the future.
TLDR: add a light source and see if that helps. The 3D plane from unity is white but appears black without a light.