How to cancel ongoing Join room attempt?

Options
Hello,
Sometimes Joining a room takes a lil bit more time (especially on bad mobile connection) .. in OnJoinedRoom() I enter another scene.. what happens if the player doesn't want to wait to join room... is there a way to stop the connection attempt?

Thanks in advance,
Ilko

Comments

  • Amirhossein90
    Options
    hi
    this is the same question I wanted to ask.
    for now I let the player join the room and if player cancel find game and click back ,I set flag (some Boolean, leave=true)
    and if the player joined any room after canceling find game I immediately kick the player out from room.
    but I don't think this is the right way to do this.
    any answer could be helpful
    thanks.
    sorry for bad English!