Class UnityMessageListener
Inheritance
UnityMessageListener
Inherited Members
UnityEngine.Component.GetComponentInParent<T>(System.Boolean)
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Syntax
[AddComponentMenu("")]
[Obsolete("UnityMessageListener is deprecated and has been replaced by separate message listeners for each event, eg. UnityOnCollisionEnterMessageListener or UnityOnButtonClickMessageListener.")]
public sealed class UnityMessageListener : MessageListener, IPointerEnterHandler, IPointerExitHandler, IPointerDownHandler, IPointerUpHandler, IPointerClickHandler, IBeginDragHandler, IDragHandler, IEndDragHandler, IDropHandler, IScrollHandler, ISelectHandler, IDeselectHandler, ISubmitHandler, ICancelHandler, IMoveHandler, IEventSystemHandler
Methods
AddGUIListeners()
Declaration
public void AddGUIListeners()
OnBeginDrag(PointerEventData)
Declaration
public void OnBeginDrag(PointerEventData eventData)
Parameters
Implements
OnCancel(BaseEventData)
Declaration
public void OnCancel(BaseEventData eventData)
Parameters
Implements
OnDeselect(BaseEventData)
Declaration
public void OnDeselect(BaseEventData eventData)
Parameters
Implements
OnDrag(PointerEventData)
Declaration
public void OnDrag(PointerEventData eventData)
Parameters
Implements
OnDrop(PointerEventData)
Declaration
public void OnDrop(PointerEventData eventData)
Parameters
Implements
OnEndDrag(PointerEventData)
Declaration
public void OnEndDrag(PointerEventData eventData)
Parameters
Implements
OnMove(AxisEventData)
Declaration
public void OnMove(AxisEventData eventData)
Parameters
Implements
OnPointerClick(PointerEventData)
Declaration
public void OnPointerClick(PointerEventData eventData)
Parameters
Implements
OnPointerDown(PointerEventData)
Declaration
public void OnPointerDown(PointerEventData eventData)
Parameters
Implements
OnPointerEnter(PointerEventData)
Declaration
public void OnPointerEnter(PointerEventData eventData)
Parameters
Implements
OnPointerExit(PointerEventData)
Declaration
public void OnPointerExit(PointerEventData eventData)
Parameters
Implements
OnPointerUp(PointerEventData)
Declaration
public void OnPointerUp(PointerEventData eventData)
Parameters
Implements
Declaration
public void OnScroll(PointerEventData eventData)
Parameters
Implements
OnSelect(BaseEventData)
Declaration
public void OnSelect(BaseEventData eventData)
Parameters
Implements
OnSubmit(BaseEventData)
Declaration
public void OnSubmit(BaseEventData eventData)
Parameters
Implements
Extension Methods