Ejemplo n.º 1
0
 private void Awake()
 {
     selectButton = FindObjectOfType <SelectButton>();
     if (isTopButtonInMenu == true)
     {
         SetSelectedText();
     }
     else if (GetComponent <Button>().interactable == false)
     {
         SetLockedText();
     }
     else
     {
         SetText();
     }
     selectedButtonScrollController = GetComponentInParent <SelectedButtonScrollController>();
     dialRotateHandler = FindObjectOfType <DialRotateHandler>();
 }
Ejemplo n.º 2
0
 private new void Start()
 {
     base.Start();
     selectedButtonScrollController = GetComponent <SelectedButtonScrollController>();
     dialRotateHandler = FindObjectOfType <DialRotateHandler>();
 }