Skip to main content

MaxAttribute

A class in Alta.Attributes, the global namespace.

Inspector attribute that sets a maximum for a float field. The drawer that enforces it is not in the server build.

Constructors​

MemberWhat it is
MaxAttribute(float max)Creates a MaxAttribute from max.

Fields​

MemberWhat it is
readonly float maxThe maximum value.