//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();
        }
示例#2
0
文件: Utils.cs 项目: TamaHobbit/DMV
 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();
 }