Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Unity Multiplayer [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:
    2,991
    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.