using UnityEngine;
using UnityEngine.UI;

namespace TwitchInGames.Test {
    public class SliderValueText : MonoBehaviour {
#pragma warning disable 649 // Field '*' is never assigned to, and will always have its default value *
        [SerializeField]
        private Text text;

        [SerializeField]
        private Slider slider;
#pragma warning restore 649

        public void UpdateText() {
            text.text = slider.value.ToString();
        }
    }
}
