| Parameter | Description |
|---|---|
| material | The material to apply the drawer values to. |
Applies the initial values of custom material property drawers to a single material.
This method calls MaterialPropertyDrawer.Apply for every property of the shader that has a custom drawer, so each material starts with the values that its custom drawers expect.
| Parameter | Description |
|---|---|
| targets | The materials to apply the drawer values to. |
Applies the initial values of custom material property drawers to a set of materials.
This method calls MaterialPropertyDrawer.Apply for every property of the shader that has a custom drawer, so each material starts with the values that its custom drawers expect. If targets is null or empty, the method does nothing.