using UnityEngine; using UnityEngine.UI; namespace Assets.HeroEditor4D.Common.Scripts.EditorScripts { /// /// Used to set Slider zero value. /// public class SliderReset : MonoBehaviour { public void Reset() { GetComponentInParent().value = 0; } } }