Lemmings
Remappable Gestures For Unity
Loading...
Searching...
No Matches
MinMaxSliderAttribute Class Reference

Attribute for displaying a slider with editable min and max values in the inspector. Should be used on a Vector2 field where x = min, y = max. More...

Inherits PropertyAttribute.

Public Member Functions

 MinMaxSliderAttribute (float min, float max)
 Creates a new MinMaxSlider attribute with a defined range.

Data Fields

readonly float min
 The minimum allowed value on the slider.
readonly float max
 The maximum allowed value on the slider.

Detailed Description

Attribute for displaying a slider with editable min and max values in the inspector. Should be used on a Vector2 field where x = min, y = max.

Constructor & Destructor Documentation

◆ MinMaxSliderAttribute()

MinMaxSliderAttribute.MinMaxSliderAttribute ( float min,
float max )
inline

Creates a new MinMaxSlider attribute with a defined range.

Parameters
minThe lowest allowed value.
maxThe highest allowed value.

The documentation for this class was generated from the following file:
  • Assets/Lemmings/Scripts/Editor/LemmingEditorUtilities.cs