Skip to content

Input Bindings

Description

An Input Bindings Asset allows you to define input axes and buttons and their associated actions for your Project.

Editor Properties

For more information about Axes and Buttons, see their documentation pages.

Public Properties

Property Function
Buttons The list of all buttons registered in this input binding.
Axes The list of all axes registered in this input binding.

Public Methods

Method Function
Exists Check if the key has already been registered by any button.
AddButton Register a new button.
RemoveButton Remove the button specified by the index.
ResetButton Restores the default value of the button.
AddAxis Register a new axis.
RemoveAxis Remove the axis specified by the index.
ResetAxis Restores the default value of the axis.