public void OnButtonSelected(BaseButtonController button)
	{
		if(lastButton!=null)
			lastButton.BackgroundColor = Color.white;

		button.BackgroundColor = SelectionColor;
		lastButton = button;
	}
Exemple #2
0
    public void OnButtonSelected(BaseButtonController button)
    {
        if (lastButton != null)
        {
            lastButton.BackgroundColor = Color.white;
        }

        button.BackgroundColor = SelectionColor;
        lastButton             = button;
    }