Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Random multiplayer shifts

Discussion in 'Multiplayer' started by als260502, May 25, 2017.

  1. als260502

    als260502

    Joined:
    Mar 29, 2013
    Posts:
    1
    I need a little help. I'm trying to do a multiplayer test.
    When the player enters it is added to a list
    then the order of the players is made randomly creating another list
    so I have a variable [SyncVar] bool myTurn and I activate it with CmdTurnOrder()
    and the first one in the ordered list make actions, but only this works If I have only one player logged in, when there is more than one does not work. What can I be doing wrong? Sorry for my bad english