Skip to main content

Unity.Multiplayer.Tools.NetworkSimulator.Runtime.MinMaxRangeAttribute

Inheritance#

System.Dynamic.ExpandoObject

System.Dynamic.ExpandoObject

Namespace: System.Dynamic.ExpandoObject#
Assembly: Tools.dll#
Syntax#
public class MinMaxRangeAttribute : PropertyAttribute

Constructors#

MinMaxRangeAttribute(Single, Single, Boolean)#

Declaration#

public MinMaxRangeAttribute(float min, float max, bool roundToInt = false)

Parameters#

TypeNameDescription
System.Singlemin
System.Singlemax
System.BooleanroundToInt

Fields#

Max#

Declaration#

public readonly float Max

Field Value#

TypeDescription
System.Single

Min#

Declaration#

public readonly float Min

Field Value#

TypeDescription
System.Single

RoundToInt#

Declaration#

public readonly bool RoundToInt

Field Value#

TypeDescription
System.Boolean