Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1.54 KB

File metadata and controls

26 lines (20 loc) · 1.54 KB
uid input-system-action-assets

Input action assets

Store actions, bindings, action maps, and control schemes in .inputactions assets.

Use project-wide assignment for the recommended single-asset workflow, or create additional assets when you need separate input configurations. Generate a C# API when you want type-safe access from code.

Topic Description
About action assets See what .inputactions assets contain and when to use them.
About project-wide actions Assign one asset project-wide for API access without manual references.
Create and assign a default project-wide actions asset Create the built-in default actions asset and assign it to your project.
Create an empty action asset Create a new .inputactions asset in the Project window.
Assign an existing action asset as project-wide Switch which asset is assigned as project-wide actions.
Default actions Built-in actions included in the default project-wide asset.
Generate C# API from actions Generate a type-safe C# wrapper class from an action asset.

Additional resources