public void SetButtonSelectionBar(Sprite oneButton) { _countButton = CountButtonResult.One; _selectionBar.GetOneButton().GetComponent <Image>().sprite = oneButton; }
public void SetButtonSelectionBar(Sprite rightButton, Sprite leftButton) { _countButton = CountButtonResult.Two; _selectionBar.GetRightButton().GetComponent <Image>().sprite = rightButton; _selectionBar.GetLeftButton().GetComponent <Image>().sprite = leftButton; }