Method GetRendererSharedMaterials
| Edit this page View SourceGetRendererSharedMaterials(GameObject)
Get a list of all shared renderer Material of a GameObject and its childs
Declaration
public static List<Material> GetRendererSharedMaterials(GameObject gameObject)
Parameters
| Type | Name | Description |
|---|---|---|
| GameObject | gameObject | Parent GameObject |
Returns
| Type | Description |
|---|---|
| List<Material> | List of Material |