interface IPointerClickHandler {
    onPointerClick(args: PointerEventData): any;
}

Hierarchy (View Summary)

Implemented by

Methods

  • Called when an object (or any child object) is clicked. Raycasting hits the object's visible mesh geometry — a Collider is NOT required (colliders are only used for physics raycasts via context.physics.engine.raycast()). The EventSystem that dispatches this is created automatically; you do not need to add it manually.

    Parameters

    Returns any