Zum Inhalt springen
Medium 1 für Eintrag Input Nexus

Beschreibung

Revolutionize Input Management with InputNexus!

Documentation | Discord

InputNexus is a plugin that streamlines how Enhanced Input System is handled and where gameplay logic is stored, creating a more designer-friendly approach and reducing clutter in the player controller and pawns.

  • Input Nexus Component: Hosts an array of Input Link's and is the home of input management.

  • Input Link: Objects linked to an input action's event to run your gameplay code.

  • Link Bundle: Quickly grant multiple Input Nexus component's the exact same Mapping Context, Input Action and Input Link setup.

  • Input Buffering: Open buffer channels to delay Input Link's code tied to those channels until the channel is closed.

The vast majority of gameplay logic around Enhanced Input System can be found in the player controller and pawn, which slowly leads to those classes becoming massively bloated.

Because of this, the core of InputNexus can be found in the AC_InputNexus actor component.

This component hosts an array of input actions, and grants each input action an array of InputLink's, then when that input action is activated, the nexus component sends appropriate events to each link associated with that input action. This can include movement, opening an inventory screen, activating GAS abilities, etc.

This approach allows you to create reusable, easily manageable input gameplay logic that can be used across projects.

Enthaltene Formate