TextureExtensions.SetColor
Extension Method in TextureExtensions
Declaration
public static void SetColor(this Texture2D texture, Color32 color)Description
Sets every pixel in the texture to the specified color.
Parameters
| texture | The texture to set the color of. |
| color | The color to set the texture to. |