Question by
Wab17 · Jun 18, 2017 at 06:01 PM ·
multiplayerunity 2dplatformer
How do I make a client hosted game with multiple character classes?
So I've got a network manager, enemy spawner, players which are synced and can shoot projectiles with a health system and spawn points, but I now want to diversify my game (it's meant to be a MoBA so different classes are a necessity) and I'm running into issues. The first is setting up what class players are when they connect, but there is only 1 set prefab I can spawn a player as within the network manager. How would I make the player prefab change on connection depending on what character has been selected. It's a 2d sidescroller.
Comment