[Color]
Parameters
Parameter
Type
Description
Examples
[Color(1, 0, 0, 1)]
public string redText;
[Color(0, 1, 0, 1, Target = ColorTarget.Background)]
public int greenBackground;
[Color(0, 0, 1, 1, Target = ColorTarget.Content)]
public float blueContent;Last updated