protected void UpdateSelectionState(BaseEventData eventData)
{
if (this.IsPressed())
{
this.m_CurrentSelectionState = SelectionState.Pressed;
}
else if (this.IsHighlighted(eventData))
{
this.m_CurrentSelectionState = SelectionState.Highlighted;
}
else
{
this.m_CurrentSelectionState = SelectionState.Normal;
}
}