Hello everybody, I’m new here and this is my first Unity project
I have an entity(3d model), i am trying to change the color of on of its child meshes from inside the its own class.
Gameobject.Find doesnt find all the game objects in the game.
this works but for one game object only:
GameObject cc = GameObject.Find(“eye1”);
cc.renderer.material.color = Color.green;
eye1 being hte name of the object.
is there anyway i can reach that object from within the class itself?
thank you Very much.