FloatRangeDecorator

Class in ChivalrousGames.Common.Inspector / Inherits from PropertyDecorator

Description

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.

Usage Example

[DecoratedProperty(
	typeof(FloatRangePropertyDecorator))]
public FloatRange randomX;