I’m trying to instantiate a new GameObject from a prefab and change the material of a child GameObject. I found several answered Questions here, but the answers do not seem to work for me, so please help me out.
GameObject newCharacter = Instantiate(character, spawnPosition, spawnRotation) as GameObject;
The child GameObject is called “Body”. My target is to either swap the associated matierial with another one or change some details of it, like the albedo color.