public void Logout() { GamerPlatformSettings.Instance.ShouldBeSignedIn = false; GamerPlatformSettings.Instance.PlayerId = string.Empty; GamerPlatformSettings.Instance.Serialize(); if (_client.IsConnected) { GamesClass.SignOut(_client); Stop(); _client.Dispose(); _client = null; OnSignedOut(); } }