private void Start() { creator = FindObjectOfType <UCE_UI_CharacterCreation>(); changeSlider = gameObject.GetComponent <Slider>(); changeSlider.minValue = min; changeSlider.maxValue = max; changeSlider.value = (min + max) / 2; changeSlider.onValueChanged.SetListener(PerformTask); }
private void Start() { creator = FindObjectOfType <UCE_UI_CharacterCreation>(); changeButton = gameObject.GetComponent <Button>(); changeButton.onClick.SetListener(PerformTask); }
private void Start() { creator = FindObjectOfType <UCE_UI_CharacterCreation>(); }