기술 자료

Unity Engine

Unity Engine

pointerId

Gets the identifier of the pointer that sent the event.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public int pointerId { get; protected set; }

Remarks

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.