void SetMaterialOverride( Material material, string target )

Summary

Set a material override for a material with a specific attribute set. For example, if you have a model with lots of different materials, but one of them has an attribute "skin" set to "1", then calling this with a material and "skin" will override only that material.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.