-
Notifications
You must be signed in to change notification settings - Fork 2
Common.Colors
DucNV_2000 edited this page Sep 9, 2024
·
2 revisions
- Set alpha for color
/// API
Color SetAlpha(this Color color, float a)
Color SetRelativeAlpha(this Color color, float a)
- Set alpha for graphic
/// 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)
- Set red for color
/// API
Color SetRed(this Color color, float r)
Color SetRelativeRed(this Color color, float r)
- Set red for graphic
/// 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)
- Set green for color
/// API
Color SetGreen(this Color color, float g)
Color SetRelativeGreen(this Color color, float g)
- Set green for graphic
/// 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)
- Set blue for color
/// API
Color SetBlue(this Color color, float b)
Color SetRelativeBlue(this Color color, float b)
- Set blue for graphic
/// 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)