RendererMeshReplacePooledObject
A class in Root.Township, the global namespace.
Pooled object that swaps the mesh and material on a set of renderers when set up.
- Listed in Global namespace: Q to R
- Inherits or implements
MeshReplacePooledObject
Constructors
| Member | What it is |
|---|---|
RendererMeshReplacePooledObject() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
2 private and internal fields
Methods
| Member | What it is |
|---|---|
override void Setup(Mesh mesh, Material material) | Sets the material on each renderer and the mesh on each matching filter. |