Hello,
I know that you can assign the controlScheme and pairWithDevice in the instantiate like this:
PlayerInput.Instantiate(playerPrefab, controlScheme: "p1", pairWithDevice: Keyboard.current)
However my question is how to do it after the instantiation.
GameObject player=PlayerInput.Instantiate(playerPrefab, controlScheme: "p1", pairWithDevice: Keyboard.current)
player.controlScheme ???
player.pairWithDevice ????
Is this possible?
I’m new with this player input, sorry if this was already asked.
Thanks in advance,
Regards,