| | 1 | | using System; |
| | 2 | | using UnityEngine.EventSystems; |
| | 3 | |
|
| | 4 | | namespace DCL.SettingsCommon.SettingsControllers.BaseControllers |
| | 5 | | { |
| | 6 | | /// <summary> |
| | 7 | | /// This controller is in charge of manage all the base logic related to a SPIN-BOX CONTROL. |
| | 8 | | /// </summary> |
| | 9 | | public class SpinBoxSettingsControlController : SettingsControlController |
| | 10 | | { |
| | 11 | | public event Action<string[]> OnSetLabels; |
| 4 | 12 | | protected void RaiseOnOverrideIndicatorLabel(string[] labels) { OnSetLabels?.Invoke(labels); } |
| | 13 | |
|
| | 14 | | public event Action<string> OnCurrentLabelChange; |
| 2 | 15 | | protected void RaiseOnCurrentLabelChange(string newCurrentLabel) { OnCurrentLabelChange?.Invoke(newCurrentLabel) |
| | 16 | |
|
| 0 | 17 | | public virtual void OnPointerClicked(PointerEventData eventData) { } |
| | 18 | | } |
| | 19 | | } |