文档

Unity Engine

Unity Engine

penStatus

Specifies the state of the pen. For example, whether the pen is in contact with the screen or tablet, whether the pen is inverted, and whether buttons are pressed.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.InputLegacyModule
public PenStatus penStatus

Remarks

On macOS, penStatus will not reflect changes to button mappings.