Table of Contents

Class InputMotionExtensions

public static class InputMotionExtensions
Inheritance
InputMotionExtensions
Inherited Members

Methods

Button(Echo, string, Action<float>)

Applies a ButtonMotion to the echo.

public static Echo Button(this Echo echo, string buttonName, Action<float> callback)

Parameters

echo Echo
buttonName string
callback Action<float>

Returns

Echo

ButtonDown(Echo, string, Action<float>)

Applies a ButtonDownMotion to the echo.

public static Echo ButtonDown(this Echo echo, string buttonName, Action<float> callback)

Parameters

echo Echo
buttonName string
callback Action<float>

Returns

Echo

ButtonUp(Echo, string, Action<float>)

Applies a ButtonUpMotion to the echo.

public static Echo ButtonUp(this Echo echo, string buttonName, Action<float> callback)

Parameters

echo Echo
buttonName string
callback Action<float>

Returns

Echo

Key(Echo, KeyCode, Action<float>)

Applies a KeyMotion to the echo.

public static Echo Key(this Echo echo, KeyCode keyCode, Action<float> callback)

Parameters

echo Echo
keyCode KeyCode
callback Action<float>

Returns

Echo

KeyDown(Echo, KeyCode, Action<float>)

Applies a KeyDownMotion to the echo.

public static Echo KeyDown(this Echo echo, KeyCode keyCode, Action<float> callback)

Parameters

echo Echo
keyCode KeyCode
callback Action<float>

Returns

Echo

KeyUp(Echo, KeyCode, Action<float>)

Applies a KeyUpMotion to the echo.

public static Echo KeyUp(this Echo echo, KeyCode keyCode, Action<float> callback)

Parameters

echo Echo
keyCode KeyCode
callback Action<float>

Returns

Echo