Пример #1
0
 public void SetButtonSelectionBar(Sprite oneButton)
 {
     _countButton = CountButtonResult.One;
     _selectionBar.GetOneButton().GetComponent <Image>().sprite = oneButton;
 }
Пример #2
0
 public void SetButtonSelectionBar(Sprite rightButton, Sprite leftButton)
 {
     _countButton = CountButtonResult.Two;
     _selectionBar.GetRightButton().GetComponent <Image>().sprite = rightButton;
     _selectionBar.GetLeftButton().GetComponent <Image>().sprite  = leftButton;
 }