Summary
Apply material to all materials of a Renderer
- Namespace
- RedGirafeGames
.Agamotto .Scripts .Runtime .Utils - Containing Type
- GameObjectUtils
Syntax
public static void ApplyMaterialOnRenderer(Renderer rend, Material material)
Parameters
| Name | Type | Description |
|---|---|---|
| rend | Renderer | The Renderer modified |
| material | Material | The material to apply |
Return Value
| Type | Description |
|---|---|
| void |