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(); }
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; }