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

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

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