JetBrains / JetBrains/resharper-unity
Inspection on Color values between 0 and 1
Open
- Dominant language
- C#
- Stars
- 1.2k
- Forks
- 142
- PR merge metrics
- No merged PRs in 30d
Description
`UnityEngine.Color` takes RGB(A) values as a float between 0 and 1. There is no validation on the range. Add an inspection to give a warning if it's a constant value outside of that range.
See also `HSVToRGB`.
Contributor guide
Assessment
This issue has not been assessed yet.