private void OnEnable() { if (LobbyManager.m_playSolo) { return; } GameManager.UpdatePlayerStatistics(GameManager.PLAYFAB_LAST_LOG_IN, (int)System.DateTime.Now.Ticks); m_IP = LocalIPAddress(); var request = new PlayFab.AdminModels.AddPlayerTagRequest { TagName = m_IP, PlayFabId = GameManager.m_playfabID }; PlayFabAdminAPI.AddPlayerTag(request, result => { Debug.Log("User statistics updated"); }, error => { Debug.LogError(error.GenerateErrorReport()); }); }