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

            m_TouchEvents.Enqueue(new TouchEvent(listener, type, pointer));
        }
Exemple #2
0
		public void ListenTouch(UITouchListener listener, TouchType type, PointerEventData pointer) {
			if (listener.layer == null) { return; }

			m_touchEvents.Enqueue(new TouchEvent(listener, type, pointer));
		}
Exemple #3
0
 public TouchEvent(UITouchListener listener, EnumTouchType type, PointerEventData pointer)
 {
     Listener = listener;
     Type     = type;
     Pointer  = pointer;
 }
Exemple #4
0
 public void ListenTouch(UITouchListener listener, EnumTouchType type, PointerEventData pointer)
 {
     m_TouchController.Enqueue(listener, type, pointer);
 }
Exemple #5
0
 public TouchEvent(UITouchListener listener, TouchType type, PointerEventData pointer)
 {
     m_listener = listener;
     m_type     = type;
     m_pointer  = pointer;
 }