Skip to content

InputActionMap.IsPressed(string, IInputContext) Method

Definition

Namespace: Brine2D.Input

Returns true if any binding of the named action was pressed this frame. Returns false if the map is disabled.

public bool IsPressed(string actionName, Brine2D.Input.IInputContext input);

Parameters

actionName System.String

input IInputContext

Returns

System.Boolean