public void ButtonOver() { OnTouchOver(new TouchEvent(transform.position, transform.position, TouchRawType.LeftClick)); }
public void SelectNewButton(ControllerButton button) { if (button != null) { // Clear the button. ClearButtons(); // Select the new button. m_SelectedButton = button; m_SelectedButton.ButtonOver(); } }