示例#1
0
 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);
 }
示例#3
0
 private void Start()
 {
     creator = FindObjectOfType <UCE_UI_CharacterCreation>();
 }