Question by
puigdo · May 21, 2016 at 04:52 PM ·
unity 5multiplayernetworkmultiplayer-networkingonline game
How to change the turn of a player in an online multiplayer game?
Hi everyone,
I'm new in Unity and I'm trying to create an online multiplayer game. This game is a tanks fight. The tank is prefab and it's called to be created twice. When you press the Space keycode the tank shoots a bullet. I have all the network connections done but now I want to control the players turn. For example, if localPlayer shoots one time this would have to be the turn of the second player and so on.
Can anyone help me please?
Comment