Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

PointerCaptureEventBase<T0>.pointerId

public int pointerId;

Description

Identifies the pointer that sends the event.

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.