I need to set the player game object's material to something different when too close to the camera. But the player might swap characters/models, and some will have many materials on them like skin, hair, etc.
I need to save all materials on a game object into a material array, in order, and I figured a "get material count" would be the best way to establish how many loops to do?