Exemplo n.º 1
0
        public void Enqueue(UITouchListener listener, EnumTouchType type, PointerEventData pointer)
        {
            if (listener.Layer == null)
            {
                return;
            }

            m_TouchEvents.Enqueue(new TouchEvent(listener, type, pointer));
        }
Exemplo n.º 2
0
 public TouchEvent(UITouchListener listener, EnumTouchType type, PointerEventData pointer)
 {
     Listener = listener;
     Type     = type;
     Pointer  = pointer;
 }
Exemplo n.º 3
0
 public void ListenTouch(UITouchListener listener, EnumTouchType type, PointerEventData pointer)
 {
     m_TouchController.Enqueue(listener, type, pointer);
 }