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

PointerEventBase<T0>.pointerId

public int pointerId;

Description

Gets the identifier of the pointer that sent the event.

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