- Home /
Camera Board Game - Multiplayer,Multiplayer camera - best practice
Hey Community,
i read a bit about Multiplayer in Unity and tried an example. https://unity3d.com/de/learn/tutorials/topics/multiplayer-networking/introduction-simple-multiplayer-example
I am currently wondering, what's the best practice for a multiplayer camera, for a board game. Lets expect i have 2 player, every player have it own cards, but the view should be always the same.
I found a few threads, this thread explains pretty much what i am trying to achieve. -> https://stackoverflow.com/questions/42334693/how-do-i-flip-a-camera-and-not-ui-for-a-networked-game
Whats the most common way to do this?
Answer by Ayelis · Mar 25, 2018 at 08:38 PM
Though I can't speak to the most common way to achieve what you want, the way I would use is to make the UI a child of the Camera object. That way, when you transform the camera, the UI is automatically transformed along with the parent.
Whatever you don't want to flip should be parented to the rotating camera, and whatever you do want to flip should be given a parent that is not in the camera heirarchy.
Your answer
Follow this Question
Related Questions
Share Viewport (Camera) in Multiplayer 2 Answers
How do i turn on and off a network camera? 0 Answers
TPS camera in multiplayer... 2 Answers
i need help about players hands positions in 2D multiplayer card game 0 Answers
Multiplayer camera please help 2 Answers