Search Unity

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,070
    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.