Esempio n. 1
0
 public virtual void DownClick(LComponent comp, float x, float y)
 {
     if (!_enabled)
     {
         return;
     }
     if (_downTouch != null)
     {
         _downTouch.On(x, y);
     }
     if (clicks != null)
     {
         for (int i = 0, size = clicks.size; i < size; i++)
         {
             ClickListener listener = clicks.Get(i);
             if (listener != null && listener != this)
             {
                 listener.DownClick(comp, x, y);
             }
         }
     }
     _downClick = true;
 }