Class FloatSetting
- Namespace
- Zorro.Settings
- Assembly
- Zorro.Settings.Runtime.dll
public abstract class FloatSetting : Setting, IDisposable
- Inheritance
-
FloatSetting
- Implements
-
- Derived
-
- Inherited Members
-
- Extension Methods
-
Constructors
FloatSetting()
Properties
MaxValue
public float MaxValue { get; protected set; }
Property Value
- float
MinValue
public float MinValue { get; protected set; }
Property Value
- float
Value
public float Value { get; protected set; }
Property Value
- float
Methods
Clamp(float)
public virtual float Clamp(float value)
Parameters
value float
Returns
- float
Expose(float)
public virtual string Expose(float result)
Parameters
result float
Returns
- string
GetDebugUI(ISettingHandler)
public override SettingUI GetDebugUI(ISettingHandler settingHandler)
Parameters
settingHandler ISettingHandler
Returns
- SettingUI
GetDefaultValue()
protected abstract float GetDefaultValue()
Returns
- float
GetMinMaxValue()
protected abstract float2 GetMinMaxValue()
Returns
- float2
GetSettingUICell()
public override GameObject GetSettingUICell()
Returns
- GameObject
Load(ISettingsSaveLoad)
public override void Load(ISettingsSaveLoad loader)
Parameters
loader ISettingsSaveLoad
Save(ISettingsSaveLoad)
public override void Save(ISettingsSaveLoad saver)
Parameters
saver ISettingsSaveLoad
SetValue(float, ISettingHandler)
public void SetValue(float value, ISettingHandler handler)
Parameters
value float
handler ISettingHandler