Local multiplayer with ECS

So I have a PlayerControls class that has been generated from an InputActionsAsset. For the player, I generate a new instance of the class and store it inside a class IComponentData so I can easily read input from inside systems. I’m thinking all I should need to do for player 2 is create a 2nd instance of the PlayerControls class and assign a different device to it. Is there a way to do that?

1 Like