Table of Contents

Class ButtonMotion

Provides a callback for when Input button is triggered.

public class ButtonMotion : InputStringMotion, IEchoMotion, IMotion
Inheritance
ButtonMotion
Implements
Inherited Members
Extension Methods

Constructors

ButtonMotion(string, Action<float>)

public ButtonMotion(string buttonName, Action<float> callback)

Parameters

buttonName string
callback Action<float>

Properties

InputCall

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

Property Value

Func<string, bool>