-
Notifications
You must be signed in to change notification settings - Fork 0
Common.Colors
DucNV_2000 edited this page Jul 10, 2024
·
1 revision
- Set alpha for color
/// API
Color SetAlpha(this Color color, float a)- Set alpha for graphic
/// API
Graphic SetAlpha(this Graphic graphic, float a)- Set alpha for SpriteRenderer
/// API
SpriteRenderer SetAlpha(this SpriteRenderer renderer, float a)- Set red for color
/// API
Color SetRed(this Color color, float r)- Set red for graphic
/// APi
Graphic SetRed(this Graphic graphic, float r)- Set red for SpriteRenderer
/// API
SpriteRenderer SetRed(this SpriteRenderer renderer, float r)- Set green for color
/// API
Color SetGreen(this Color color, float g)- Set green for graphic
/// API
Graphic SetGreen(this Graphic graphic, float g)- Set green for SpriteRenderer
/// API
SpriteRenderer SetGreen(this SpriteRenderer renderer, float g)- Set blue for color
/// API
Color SetBlue(this Color color, float b)- Set blue for graphic
/// API
Graphic SetBlue(this Graphic graphic, float b)- Set blue for SpriteRenderer
/// API
SpriteRenderer SetBlue(this SpriteRenderer renderer, float b)