Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


pressure

Gets the amount of pressure currently applied by a touch.
Read time 1 minuteLast updated 10 days ago

Definition

public float pressure { get; protected set; }

Remarks

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