Skip to content

InputActionMap.ReadValue(string, IInputContext) Method

Definition

Namespace: Brine2D.Input

Returns the analog value of the named action. Returns 0 if the map is disabled.

public float ReadValue(string actionName, Brine2D.Input.IInputContext input);

Parameters

actionName System.String

input IInputContext

Returns

System.Single