Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 1.31 KB

File metadata and controls

17 lines (10 loc) · 1.31 KB
uid input-system-ui-module-intro

Introduction to the UI Input Module

The UI Input Module passes actions from your Input System to your UI, alongside some other UI-related input settings.

You must use the UI Input Module when working with Unity UI (uGUI), or when using UI Toolkit in versions of Unity prior to Unity 2023.2.

You don't need to specify to the UI Input Module which UI system you are using. Input support for both Unity UI and UI Toolkit is based on the same Event System and BaseInputModule subsystem.

The UI Input module is implemented in the class InputSystemUIInputModule.

Input priority

If you have an instance of the Input System UI Input Module component in your scene, the settings on that component takes priority and are used instead of the UI settings in your project-wide actions. The UI action map is enabled, along with the default action map specified on any UI Input Module component in the scene.