//Steam is shutting down, do whatever you need to do, and then shut down.
        private void SteamShutdownFunc(SteamShutdown value)
        {    
            steam.Shutdown();
            GameServer.Shutdown();

            this.Exit();
        }
Exemplo n.º 2
0
 void SteamShutdownFunc(SteamShutdown value)
 {
     //Steam wants your game to quit, the problem with doing this in Unity is that the gamewindow have to be active when calling Application.Quit
     Application.Quit();
 }