private void OnValidate() { if (_usesSlider) { ComponentExt.Cache(ref _slider, gameObject); } }
private void OnValidate() { ComponentExt.Cache(ref rectTransform, gameObject); ComponentExt.Cache(ref canvasGroup, gameObject); }