Common.Colors
SetAlpha
and SetRelativeAlpha
/// API
Color SetAlpha(this Color color, float a)
Color SetRelativeAlpha(this Color color, float a)
/// API
Graphic SetAlpha(this Graphic graphic, float a)
Graphic SetRelativeAlpha(this Graphic graphic, float a)
- Set alpha for SpriteRenderer
/// API
SpriteRenderer SetAlpha(this SpriteRenderer renderer, float a)
SpriteRenderer SetRelativeAlpha(this SpriteRenderer renderer, float a)
SetRed
and SetRelativeRed
/// API
Color SetRed(this Color color, float r)
Color SetRelativeRed(this Color color, float r)
/// APi
Graphic SetRed(this Graphic graphic, float r)
Graphic SetRelativeRed(this Graphic graphic, float r)
- Set red for SpriteRenderer
/// API
SpriteRenderer SetRed(this SpriteRenderer renderer, float r)
SpriteRenderer SetRelativeRed(this SpriteRenderer renderer, float r)
SetGreen
and SetRelativeGreen
/// API
Color SetGreen(this Color color, float g)
Color SetRelativeGreen(this Color color, float g)
/// API
Graphic SetGreen(this Graphic graphic, float g)
Graphic SetRelativeGreen(this Graphic graphic, float g)
- Set green for SpriteRenderer
/// API
SpriteRenderer SetGreen(this SpriteRenderer renderer, float g)
SpriteRenderer SetRelativeGreen(this SpriteRenderer renderer, float g)
SetBlue
and SetRelativeBlue
/// API
Color SetBlue(this Color color, float b)
Color SetRelativeBlue(this Color color, float b)
/// API
Graphic SetBlue(this Graphic graphic, float b)
Graphic SetRelativeBlue(this Graphic graphic, float b)
- Set blue for SpriteRenderer
/// API
SpriteRenderer SetBlue(this SpriteRenderer renderer, float b)
SpriteRenderer SetRelativeBlue(this SpriteRenderer renderer, float b)