Exemplo n.º 1
0
 public void OnClientCancel()
 {
     this._menu.SetActive(true);
     this._inviteReceivedScreen._screen.SetActive(false);
     this._inviteReceivedScreen._lobby = null;
     this.invitedToIP       = null;
     this.invitedToPassword = null;
     this.QueryingIp        = 0u;
     SteamClientDSConfig.Clear();
 }
Exemplo n.º 2
0
 private void Awake()
 {
     BuildMission.ActiveMissions.Clear();
     Clock.Day = 0;
     if (!this.MainScene)
     {
         RainEffigy.RainAdd       = 0;
         Scene.FinishGameLoad     = false;
         LoadingProgress.Progress = 0f;
         InsideCheck.ClearStaticVars();
         SteamClientDSConfig.Clear();
         CoopLobby.HostGuid = null;
         OverlayIconManager.Clear();
         Cheats.SetAllowed(true);
     }
     AssetBundleManager.Initialize();
     Time.timeScale = 1f;
 }