Unet Character Selection?

Hello,

I’m trying to do a character selection screen like Street Fighter 2.

But I don’t know how to do it.

I’m thinking in the following, please correct me if I’m wrong.

  • The Network manager needs a prefab for the Spawn Info >Player Prefab, what should be my object? The rectangle the player moves to select the character?
  • How I do it if I want one bluerectangle for player1, and a red one for player2?
  • Should I use a network Transform for the rectangle?

I think I’m confussed of how the unet works, any help is appreciated or suggestion.

Thanks in advance!

If you want to select the character before connecting:

If you want to change a character during a connected game, you could create a player object with different child objects for characters and then enable/disable them during the game. For instance, you send a command to the server which passes and id for the child which shall be enabled. Then, the server can send a ClientRPC to inform other players about the character change.