기술 자료

Unity Engine


User Manual

Script Reference

Unity Engine


button

Gets a value that indicates which mouse button was pressed or released (if any) to cause this event: 0 is the left button, 1 is the right button, 2 is the middle button. A negative value indicates that no mouse button changed state during this event.
읽는 시간 1분최근 업데이트: 25일 전

Definition

public int button { get; protected set; }