기술 자료

Unity Engine

Unity Engine

touchScrollDirection

The direction in which the content moves when a user drags it using touch, a pen, or a tracked device.
읽는 시간 1분최근 업데이트: 10일 전

Definition

[UxmlAttribute]public ScrollView.TouchScrollDirection touchScrollDirection { get; set; }

Remarks

This applies to touch, pen, and tracked device input, such as XR controllers, on both screen-space and world-space panels. It doesn't affect dragging with a mouse, dragging the scrollers, or scrolling with a mouse wheel. The default is ScrollView.TouchScrollDirection.Natural.