- changed status to resolved
Feature Request: Create Slider attribute for [OdinSerialize]
Issue #370
resolved
I'm currently using [OdinSerialize] for making properties for ex
[OdinSerialize] [MinValue(0f), MaxValue(15f)] public float SwarmMovementSpeed{get;private set;}
But I'd be very nice if I could use [Range] attribute for slider like this:
[OdinSerialize] [Range(0,15f)] public float SwarmMovementSpeed{get;private set;}
Comments (2)
-
-
- changed version to 2.0.0.0 (formerly 1.1)
- Log in to comment
I think you're looking for the PropertyRange attribute :) You can find the documentation here: http://sirenix.net/odininspector/documentation/sirenix/odininspector/propertyrangeattribute