Documentation

Unity Engine

Unity Engine

pointerId

Identifies the pointer that sends the event.
Read time 1 minuteLast updated 2 months ago

Definition

public int pointerId { get; }

Remarks

If the mouse sends the event, this property is set to 0. If a touchscreen device sends the event, this property is set to the finger ID, which ranges from 1 to the number of touches the device supports.