The module is designed to work as you would expect a controller / mouse input to work. Events for button presses, dragging, and similar are sent in response to input.
The module sends pointer events to components as a mouse / input device is moved around, and uses the configured in the scene Raycasters to calculate what element is currently pointed at by a given pointer device.
The module sends move events and submit / cancel events in response to Input tracked via the Input manager, this works for both keyboard and controller input. The tracked axis and keys can be configured in the module’s inspector.
Свойство: | Функция: |
---|---|
Cancel Button | Имя инпут менеджера для кнопки ‘cancel’. |
Force Module Active | Force this module to be active. |
Horizontal Axis | Имя инпут менеджера для кнопки горизонтальной оси. |
Input Actions Per Second | Количество входов клавиатуры / контроллера в секунду. |
Repeat Delay | Delay in seconds before the input actions per second repeat rate takes effect. |
Submit Button | Максимальное количество входных обработчиков событий в секунду. |
Vertical Axis | Имя инпут менеджера для вертикальной оси. |
The module uses:
The flow for the module is as follows