Sample of Friend(GS2 UIKit for Unity)
Send a follow to another player, send a friend request, display a list of users you are following, display a friend list, display a list of friend registration requests you have sent, display a list of friends you have received, and display a list of friend registration requests you have sent. Displaying the list of received friend requests, setting player profiles, etc.
Folder structure
Sample folder :
(Unity project)/Assets/Game Server Services/Samples/UIKit/Gs2Friend/
Sample scene :
(Unity Project)/Assets/Game Server Services/Samples/UIKit/Gs2Friend/Scenes/Friend.unity
This sample relies on the following prefab Fields in the prefab must be configured.
- Gs2
- Gs2AccountAutoLogin
GS2-Deploy Sample Template:
(Unity project)/Assets/Game Server Services/Samples/UIKit/Gs2Friend/Settings/initialize_friend_template.yaml