Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Third Party [PHOTON]JoinOrCreateRoom

Discussion in 'Multiplayer' started by Moddwyn, Apr 6, 2017.

  1. Moddwyn

    Moddwyn

    Joined:
    Jan 27, 2016
    Posts:
    49
    When PhotonNetwork.JoinOrCreateRoom() is called, and the room name doesn't exist, of course it will the room but once it makes the room, does it join or do i manually join it using PhotonNetwork.JoinRoom()??
     
  2. tobiass

    tobiass

    Joined:
    Apr 7, 2009
    Posts:
    3,079
    That's actually missing in the docs! Good question :)
    Yes, it will enter the room in either case. All methods that join or create rooms will get you into it automatically.
     
    Moddwyn likes this.