Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question What's a simple way to quit 1v1 game, return to bootstrap scene, "reset" host and client

Discussion in 'Lobby' started by luniac, Nov 10, 2023.

  1. luniac

    luniac

    Joined:
    Jan 12, 2011
    Posts:
    612
    So i got a bootstrap Lobby scene in which you "Quick Join", and load game scene.

    In my game scene i have an Exit button that you can press any time on either Host or Client side.

    I want that button to end the game on the side its pressed and return to the bootstrap lobby scene, and trigger the same action on the other players side as well, and vice versa.

    Is there some simple way to do this reset?