How can I get current room's name with PUN 2


I’m making a multiplayer game with PUN 2 and I would like to display the room name.

I serached during hours and I didn’t find anything.

I would like to display it here :

public override void OnJoinedRoom()
        print("Room name"); //I WANT TO DISPLAY THE ROOM NAME HERE

Can you help me please ?

Thanks in advance !

I store the room code every time I attempt to join a room. Then if I succeed I just use that “_lastAttemptedRoomJoin” as my code.

    public void JoinRoom(string room)
        if (PhotonNetwork.InLobby)
        D.menuv._lastAttemptedRoomJoin = room;