跳到主要内容

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()

public InputActionClick()

InputActionClick(float threshold)

public InputActionClick(float threshold)

InputActionClick(NormalizationMode normalizationMode, float threshold)

public InputActionClick(NormalizationMode normalizationMode, float threshold)

Methods

void AddBinding(string binding)

public void AddBinding(string binding)

bool ClickInCurrentFrame()

public bool ClickInCurrentFrame()

bool ClickInCurrentFrame(ScreenPoint screenPoint)

public bool ClickInCurrentFrame(ScreenPoint screenPoint)

override void Clear()

public override void Clear()