I've created a split screen game and i've added two different characters. when i start the game and i move, both of my characters move i need to move them separately. does anybody know how to make player 1 for example move with wasd and player 2 with arrow keys i mean seperate the control button for my characters
simply create new axis in Input Manager and add the buttons you want to it and use it for one of your characters and use some other axis for the other character.
for example modify the Horizontal axis and remove a/d from it's alt buttons and create an axis called Horizontal2 and add those buttons (a d) to it with the same settings as Horizontal.
another way is to don't use the axis and use Input class's methods to see what button is down or so ...