i add a friend successfully when i enter a friendemailid and then press request button and friend add a successfully but i want to display on them. See image
image
Transform friendscrollview; //scrollview public GameObject listingPrefab; //btn public Transform listingContainer; //position //Display Friend void DisplayFriends(List<FriendInfo> friendsCache) { foreach (FriendInfo f in friendsCache) { GameObject listfriend = Instantiate(listingPrefab, friendscrollview); ListingPrefab templisting = listfriend.GetComponent<ListingPrefab>(); // PlayerPrefs.SetString("PlayerName", ListingPrefab.Instance.playerNameText.text); //try setstring Debug.Log("playername:" + templisting.playerNameText); //Debug.Log("helloone"+ f.TitleDisplayName); templisting.playerNameText.text = f.TitleDisplayName; // TitleDisplayName PlayFab unique username for this friend. } }