public Slider slider; //this item is initialized on the editor void Start() { grm = transform.GetComponent <GameResourcesManager> (); slider.minValue = 0.3f; //maximum speed slider.maxValue = 1f; //minimum speed }
public Slider slider; //this item is initialized on the editor void Start() { grm = transform.GetComponent <GameResourcesManager> (); slider.minValue = 0.3f; //maximum speed slider.maxValue = 1f; //minimum speed }