- edited description
Incorrect Range attribute validation when min>max
Issue #584
duplicate
Range attribute is incorrectly checked if min value greater than max value. This supported by Unity, but not supported by Odin.
public class Demo : MonoBehaviour
{
[UnityEngine.Range(min: 0, max: 1)] public float minMaxRange; // work
[UnityEngine.Range(min: 1, max: 0)] public float maxMinRange; // not work
}
Unity 2019.1, Odin Inspector Source Code, Windows 10
Comments (2)
-
reporter -
- changed status to duplicate
Duplicate of
#803. - Log in to comment