- Home /
Selectable objects in multiplayer
Hi there! I'm creating a new MP game where every player has an amount of unit that can use. To make an unit be selectable i was thinking to use the owner property of the object. All the units at the beginning are on the server and i don't know how to handle this. My idea was to assign a public variable to every units (squad1, squad2) and then check the property of the object and change its ownership. Is there a better way?
How can I check wich player control squad1 and squad2?
Thank you for your time!
Your answer
![](https://koobas.hobune.stream/wayback/20220613162308im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Unity networking tutorial? 6 Answers
Multiplayer objects isn't equals. 1 Answer
objects missing after build and run,after build and run game objects disappear 0 Answers
Changing to online sceen in multiplayer 0 Answers
UNet Multiple Characters 0 Answers