Ejemplo n.º 1
0
 void TouchEnd()
 {
     if (m_State == ObjectState.Moving && m_CanHandleTouch)
     {
         DelegateManager.NotifyBaseObjectDeselect(this);
         if (!m_IsRunningToTarget)
         {
             DelegateManager.ShouldKeepMoving(true);
         }
     }
 }
Ejemplo n.º 2
0
    void OnMouseUp()
    {
        if (m_State == ObjectState.Moving && m_CanHandleTouch)
        {
            DelegateManager.NotifyBaseObjectDeselect(this);
            if (!m_IsRunningToTarget)
            {
                DelegateManager.ShouldKeepMoving(true);
            }
//			m_IsSelected = false;
//			DelegateManager.TouchNotification (true);
        }
    }