Link Bundle
LinkBundle
's is a simple data-only object meant to store an array of InputLink
's to quickly grant a set of InputMappingContext
's, InputAction
's and InputLink
's.

This is a data-only class with no functions. Hence why this is not a data asset and just a object class.
Only 1 copy of each
LinkBundle
can be active at a time perInputNexus
component.Default
LinkBundle
's will have their links added to the start of theInputLink
's array and everything defined in the component andLinkBundle
's added during runtime will have theirInputLink
's added to the end of the array. It's designed this way because defaultLinkBundle
's are expected to be used as the base data, then everything added through theInputLinks
array should be treated as the links added on top of them.Remember, the
InputLink
's at the end of the array are activated first. We use a reverse for-loop rather than a standard for-loop.
Last updated