/// <summary>
    /// Called only by script.
    /// </summary>
    /// <param name="active"></param>
    public void SetActive(bool active)
    {
        _slider.SetValue(active ? 1 : 0);

        UpdateView();

        OnToggleChange?.Invoke(_isAcive);
    }
    private void SliderValueChanged(float value)
    {
        // Debug.Log("SliderValueChanged: " + value);

        _sliderValueChanged = true;

        UpdateView();

        OnToggleChange?.Invoke(_isAcive);
    }