MinIntValuePropertyDecorator

Class in ChivalrousGames.Common.Inspector / Inherits from PropertyDecorator

Description

Prevents a int field in the inspector from being lower than a preset value. The decorator expects 1 int param containing the minimum value the field can reach.

Usage Example

[DecoratedProperty(
	typeof(MinIntValuePropertyDecorator), 1,
	typeof(MaxIntValuePropertyDecorator), 1000)]
public long maxRenderMillis = 50;