CREATE YOUR WORLD
Social
Adding the Following:Follower list function
10 min
using the social api of zepeto module, world creators can load users' friend lists world creators can also follow new users or unfollow users they followed how to install please first install window → package manager → zepeto world package version 1 21 0 or later then, install the zepeto module package using a pop up friend list prefab zepeto module package offers ui prefabs for you to easily create the following/follower list 1\) in the project panel, go to packages > zepeto module > social > runtime > ui > resources > prefab folder 2\) out of the prefabs in the folder, drag and drop followscrollview\ prefab into the scene ❗️ caution when the eventsystem object does not exist in the scene, this feature may not run correctly add the object by going to gameobject > ui > eventsystem 3\) click the play button to see the friend list popup appearing on the screen followscrollview\ prefab, which creates the friend list popup, uses the followscrollview component to load and display the friend list and total user count on the screen information configured in the followscrollview component is as follows follow scroll view component true left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type if the world screen is in horizontal mode when the friend list is generated through followscrollview, followscrollview landscape is applied when the screen is in vertical mode, followscrollview portrait is applied information configured in the followview controller component applied to followscrollview landscape and followscrollview portrait is as follows follow view component true left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type as shown below, the cell where the friend information is displayed has the follow cell view and userinfo cell view components applied the information in each component is as follows user info cell view component true left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type 👍 tips zepeto text inherits unityengine ui text and provides some additional features for ui convenience within the world the texts can be easily edited in the followscrollview prefab edit mode the badge icons displayed next to the user name are icons used to mark special users such as zepeto creators and greeters modifying the friend list popup prefab ui you can customize your friend list by modifying the ui elements select a prefab in packages and drag and drop the prefab into the assets folder to copy the prefab 👍 tips prefabs cannot be modified while in the packages folder, but they can be modified once they are copied into subfolders of the assets folder
