#2 players, 1 keyboard [NEW]

1 messages · Page 1 of 1 (latest)

astral field
#

Use Unity's new InputSystem even when a device is used by multiple players. https://u3d.as/3pzb

  • Allows any device to support any number of players; i.e. 4 players on a keyboard, 2 on a gamepad, etc.
  • Works with Unity's player join/left system.
  • Works with Unity's button rebinding system.
  • Demonstrates how multiple players can individually navigate over a single UI canvas.

dev-log

Get the Share InputSystem Device package from ShawnFeatherly and speed up your game development process. Find this & other Input Management options on the Unity Asset Store.

astral field
#

Now includes 7th sample scene with video on how to rebuild it. https://youtu.be/5uuN1jhuOYo

Link #1: $15 https://u3d.as/3pzb
Link #2: free https://discussions.unity.com/t/2-players-on-same-input-device/762490

0:00 Intro
0:14 Create new Unity project and add dependencies
1:00 Create InputActions Asset
5:44 Create script to control each player
7:44 Create scene
8:56 Create Player prefab
10:15 Create Player manager

▶ Play video