文档

Unity Engine

Unity Engine

pressure

Gets the amount of pressure currently applied by a touch.
阅读时间1 分钟最后更新于 1 个月前

Definition

float pressure { get; }

Remarks

If the device does not report pressure, the value of this property is 1.0f.