Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


pressure

The current amount of pressure being applied to a touch. 1.0f is considered to be the pressure of an average touch. If _touchPressureSupported returns false, the value of this property will always be 1.0f.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.InputLegacyModule
public float pressure { get; set; }