Photon Quantum 3.0.0

Public Member Functions | Public Attributes | List of all members
Quantum.MinMaxSliderAttribute Class Reference

An attribute to display a slider in the Unity inspector between a min and max value. More...

Inheritance diagram for Quantum.MinMaxSliderAttribute:
Quantum.PropertyAttribute

Public Member Functions

 MinMaxSliderAttribute ()
 Create a slider between 0 and 1. More...
 
 MinMaxSliderAttribute (float min, float max)
 Create a slider between min and max. More...
 

Public Attributes

readonly float Max
 Max value. More...
 
readonly float Min
 Min value. More...
 

Detailed Description

An attribute to display a slider in the Unity inspector between a min and max value.

Constructor & Destructor Documentation

◆ MinMaxSliderAttribute() [1/2]

Quantum.MinMaxSliderAttribute.MinMaxSliderAttribute ( )
inline

Create a slider between 0 and 1.

◆ MinMaxSliderAttribute() [2/2]

Quantum.MinMaxSliderAttribute.MinMaxSliderAttribute ( float  min,
float  max 
)
inline

Create a slider between min and max.

Parameters
minMin
maxMax

Member Data Documentation

◆ Min

readonly float Quantum.MinMaxSliderAttribute.Min

Min value.

◆ Max

readonly float Quantum.MinMaxSliderAttribute.Max

Max value.