Table of Contents

Class KeyDownMotion

Provides a callback for when Input key down is triggered.

public class KeyDownMotion : InputKeyCodeMotion, IEchoMotion, IMotion
Inheritance
KeyDownMotion
Implements
Inherited Members
Extension Methods

Constructors

KeyDownMotion(KeyCode, Action<float>)

public KeyDownMotion(KeyCode keyCode, Action<float> callback)

Parameters

keyCode KeyCode
callback Action<float>

Properties

InputCall

protected override Func<KeyCode, bool> InputCall { get; }

Property Value

Func<KeyCode, bool>