Method SetMaterialColor
SetMaterialColor(RideID, String, RideColor)
Declaration
void SetMaterialColor(RideID materialId, string key, RideColor color)
Parameters
Type | Name | Description |
---|---|---|
RideID | materialId | The material id. |
System.String | key | The shader variable to modify. |
RideColor | color | The value the shader variable will be modified with. |