private void Awake() { Instance = this; speed = GetComponent <Slider>(); speed.onValueChanged.AddListener((value) => { Value.text = (speed.value / 10).ToString("f1"); }); }
private void Awake() { Instance = this; speed = GetComponent <Slider>(); }