跳到主要内容

Class InputActionPointer

Represents pointer type input.

Properties

onPressed

public InputEvent<ScreenPoint> onPressed { get; private set; }

onReleased

public InputEvent<ScreenPoint> onReleased { get; private set; }

Constructors

InputActionPointer([int touchNumber = 2])

public InputActionPointer([int touchNumber = 2])

Methods

Clear()

public override void Clear()

OnEnable()

protected override void OnEnable()

OnDisable()

protected override void OnDisable()