MaxIntValuePropertyDecorator
Class in ChivalrousGames.Common.Inspector / Inherits from PropertyDecorator
Description
Prevents a int field in the inspector from being higher than a preset value. The decorator expects 1 int param containing the maximum value the field can reach.
Usage Example
[DecoratedProperty(
typeof(MinIntValuePropertyDecorator), 1,
typeof(MaxIntValuePropertyDecorator), 1000)]
public long maxRenderMillis = 50;