Class HUDDebugToggleableIntegerSlider
- Namespace
- Root
- Assembly
- SPZGameAssembly.dll
public class HUDDebugToggleableIntegerSlider : MonoBehaviour
- Inheritance
-
objectObjectComponentBehaviourMonoBehaviourHUDDebugToggleableIntegerSlider
- Extension Methods
Constructors
HUDDebugToggleableIntegerSlider()
public HUDDebugToggleableIntegerSlider()
Fields
IsEnabled
public bool IsEnabled
Field Value
- bool
UIBooleanButtonDisabledColor
[SerializeField]
protected Color UIBooleanButtonDisabledColor
Field Value
- Color
UIBooleanButtonEnabledColor
[SerializeField]
protected Color UIBooleanButtonEnabledColor
Field Value
- Color
UIDisabledOverlay
[SerializeField]
protected Graphic UIDisabledOverlay
Field Value
- Graphic
UILabel
[SerializeField]
protected TMP_Text UILabel
Field Value
- TMP_Text
UIOffButton
[SerializeField]
protected Button UIOffButton
Field Value
- Button
UIOnButton
[SerializeField]
protected Button UIOnButton
Field Value
- Button
UISlider
[SerializeField]
protected Slider UISlider
Field Value
- Slider
Value
public int Value
Field Value
- int
Methods
OnSliderDisable()
protected void OnSliderDisable()
OnSliderEnable()
protected void OnSliderEnable()
Setup(UnityAction<float>, UnityAction, UnityAction, bool)
public void Setup(UnityAction<float> onSliderChange, UnityAction onSliderEnable, UnityAction onSliderDisable, bool startDisabled = true)
Parameters
onSliderChangeUnityAction<float>onSliderEnableUnityActiononSliderDisableUnityActionstartDisabledbool