Method InstantiateSolidColor
InstantiateSolidColor(Color)
Returns an instance of the solid color material, setting the color. If the same color is requested multiple times, a shared material is returned.
Declaration
public Material InstantiateSolidColor(Color color)
Parameters
| Type | Name | Description |
|---|---|---|
| Color | color |
Returns
| Type | Description |
|---|---|
| Material |