Class KeyDownMotion
- Namespace
- FriedSynapse.FlowEnt.Motions.Echo.Inputs
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
Properties
InputCall
protected override Func<KeyCode, bool> InputCall { get; }