Closing the App When the Host Leaves

I'm developing a multiplayer VR app using Photon Bolt and Unity ver. 2019.4.16f1.

I would like to have the app close for all users when the host leaves the app and would appreciate any input on implementing this.

Answers

  • Application.Quit(); //This function basically closes any Unity application

    I don't use Photon Bolt but I think what you're looking for is an RPC function (Remote Procedure Call)

    People have already done what you're trying to do so look it up on the internet