This decorator is custom made for the FloatRange class. It will display two fields called “min” and “max” on a single line in the inspector to represent a range of float values. The “min” value is prevented from becoming higher than the “max” value. Requires not parameters.
[DecoratedProperty( typeof(FloatRangePropertyDecorator))] public FloatRange randomX;