Class in ChivalrousGames.Common.Inspector / Inherits from PropertyDecorator


This decorator modifies a int field so it can’t have a value below a specified int value and can’t have a value higher than another specified int value. The decorator expects 2 int params containing the minimum value and maximum the field can reach.

Usage Example

[DecoratedProperty(typeof(IntSliderPropertyDecorator), 1, 225)]
public int maxWidth;