Class KeyMotion
- Namespace
- FriedSynapse.FlowEnt.Motions.Echo.Inputs
Provides a callback for when Input key is triggered.
public class KeyMotion : InputKeyCodeMotion, IEchoMotion, IMotion
- Inheritance
-
KeyMotion
- Implements
- Inherited Members
- Extension Methods
Constructors
KeyMotion(KeyCode, Action<float>)
public KeyMotion(KeyCode keyCode, Action<float> callback)
Parameters
Properties
InputCall
protected override Func<KeyCode, bool> InputCall { get; }