Network state change materials
Last updated
Last updated
You can use a network state to synchronize changes to one or more objects' materials.
In the NetworkStateTrigger_ChangeMaterials
component, you can set both a list of materials and a list of Mesh Renderers. You can then call methods to apply a material from the list to all referenced Mesh Renderers.
You can provide a material index to change a specific material in a Mesh Renderer.
The following diagram shows an example of how to arrange the components in Unity, and the required references.