I’m sorry if this question has been answered already somewhere, but I’ve done some searching and I can’t find an answer that helps me.
My player model is a cube with a plane inside of it. Both shapes have different materials on them, and I want to change the material on only the plane of the model during run-time.
How do I get the plane's gameObject? If my plane's name is Plane001, would I use Plane001.gameObject? The plane is part of my .fbx model, can I still use the gameObject stuff? Sorry, I'm pretty confused.
Thank you, that's just what I needed! :)
– EpicwolfHappy to hear that it helped you. All the best for your game
– sona.viswam