Class Color32Extensions
Extension methods for Unity's Color32 struct
Inheritance
Color32Extensions
Assembly: cs.temp.dll.dll
public static class Color32Extensions
Methods
Creates a Color from a hexcode string
Declaration
public static Color ParseHexcode(string hexstring)
Parameters
Type |
Name |
Description |
String |
hexstring |
|
Returns
Declaration
public static Color PremultiplyAlpha(Color col)
Parameters
Type |
Name |
Description |
Color |
col |
|
Returns
Declaration
public static Color32 PremultiplyAlpha(Color32 col)
Parameters
Type |
Name |
Description |
Color32 |
col |
|
Returns