ドキュメント

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.