private void OnLoginSuccess(LoginResult result) { //for testing the customdata of items //Dictionary<string, string> i = new Dictionary<string, string>(); //i.Add("outfit", "{\"hat\":\"wow\",\"glasses\":\"sunglasses\"}"); //SetItemCutsomData(i, "891C2D292A879E29", "5055A279219519E2"); Debug.Log("Logged in!"); playerId = result.PlayFabId; CatInventory.catInv.GetPlayFabDecor(); PremiumMoneyTracker.SetMoney(result.InfoResultPayload.UserVirtualCurrency["PM"]); MoneyTracker.SetMoneyText(result.InfoResultPayload.UserVirtualCurrency["NM"]); iap.RefreshIAPItems(); }