protected virtual void OnPress (bool isPressed)
{
if (isPressed && isSelected && label != null &&
(UICamera.currentScheme == UICamera.ControlScheme.Mouse ||
UICamera.currentScheme == UICamera.ControlScheme.Touch))
{
#if UNITY_METRO
if (mKeyboard != null) mKeyboard.active = true;
#endif
selectionEnd = GetCharUnderMouse();
if (!Input.GetKey(KeyCode.LeftShift) &&
!Input.GetKey(KeyCode.RightShift)) selectionStart = mSelectionEnd;
}
}