void OnSliderValueChanged(float value)
        {
            var action = new UiSliderActionData();

            action.GroupId = GroupId;
            action.Sender  = _slider;
            action.Value   = value;
            SendActionData(action);
        }
 void OnSliderValueChanged(float value)
 {
     if (Singleton.IsTypeRegistered <UnityEventBus> ())
     {
         var action = new UiSliderActionData();
         action.GroupId = GroupId;
         action.Sender  = _slider;
         action.Value   = value;
         Singleton.Get <UnityEventBus> ().Publish <UiSliderActionData> (action);
     }
 }