SetWearableToNewMaterial
ModularCharacterManager.SetWearableToNewMaterial
Declaration public void SetWearableToNewMaterial(Wearable _wearable, Material _newMaterial);
Parameters
Parameter
Description
Wearable _wearable
The Wearable you want to add the new Material to.
Material _newMaterial
The new Material you want to apply.
Description The public function to replace the current material on a live wearable mesh with another material.
Last updated