평점 만점의 리뷰가 11,000개 이상
8만 5천명 이상의 리뷰
10만명 이상의 포럼 멤버가 선호하는 에셋
유니티에서 모더레이팅하는 모든 에셋
Unity Version | Built-in | URP | HDRP |
---|---|---|---|
2022.3.22f1 | Compatible | Not compatible | Not compatible |
This package solves supporting more than one player per device. Use Unity's InputSystem.PlayerInput even when a device is used by multiple players with just 2 steps.
What are the 2 steps!?
1. Matches what you may have seen in multiple "split keyboard" tutorials. Setup your `\*.inputactions` asset to support a different control scheme for each player. It doesn't matter if there are multiple control schemes for a single device.
2. Add the `PlayerInputCanShareDevice.cs` component to the `PlayerInput` prefab that is referenced by your `PlayerInputManager`.
That's it! PlayerInputCanShareDevice.cs handles correctly leveraging what you setup in '\*.inputactions` to correctly split the device with as many players as you'd like. All while being able to use Unity's PlayerInput and PlayerInputManager for everything else.
- 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 default PlayerInput component.
- Works with Unity's player join/left system.
- Works with Unity's button rebinding system.
Share InputSystem Device
