跳到主要内容

Class InputActionClick

Properties

onClick

public InputEvent onClick { get; private set; }

onClickWithScreenPoint

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

threshold

public float threshold { get; set; }

Constructors

InputActionClick(float threshold)

public InputActionClick(float threshold)

InputActionClick(NormalizationMode normalizationMode, float threshold)

public InputActionClick(NormalizationMode normalizationMode, float threshold)

Methods

AddBinding(string binding)

public void AddBinding(string binding)

ClickInCurrentFrame()

public bool ClickInCurrentFrame()

ClickInCurrentFrame(ScreenPoint screenPoint)

public bool ClickInCurrentFrame(ScreenPoint screenPoint)

Clear()

public override void Clear()

OnDisable()

protected override void OnDisable()

OnEnable()

protected override void OnEnable()