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

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

        button.BackgroundColor = SelectionColor;
        lastButton             = button;
    }