Question by
Salty_Stump · Oct 12, 2019 at 04:35 AM ·
gameobjectmaterialfindfind-gameobjectrgb
setting a variable to a GameObject that has a certain RGB value??? please help
Code so far:
if (GameObject.find("Tank(Clone)").render.material.color = Color(42, 100, 178, 0) )
{
}
but i dont know how to set the variable from there... Please help
Comment