ClickSupport

Provides mouse click support to UI objects that can detect raycasts.

Inherits from MonoBehaviour. Implements IPointerClickHandler.

Properties

NameDescriptionType

onLeftClick

Callback for when the mouse left click button is performed on the object.

UnityEvent

onMiddleClick

Callback for when the mouse middle click button is performed on the object.

UnityEvent

onRightClick

Callback for when the mouse right click button is performed on the object.

UnityEvent

Last updated