Skip to content

Input System

Thane5 edited this page Jul 20, 2025 · 1 revision

Redguard Unity uses Unitys Input System package. It uses project-wide actions to make action assignments easier. This means that a single Action Asset is defined in the project settings and can be accessed without an asset reference.

Actions are linked to code in the Input Manager like this:

_moveAction = InputSystem.actions.FindAction("Move");

Actions are then read in Update().

Clone this wiki locally