メインコンテンツまでスキップ

プレイテスト - フレンドを追加する - (Unity モジュール)

Last updated on December 13, 2024

To test handling friend requests, you will need to log in as two users to be able to send friend requests to yourself on different clients. To do that, repeat the steps you did for the Search for Player playtest module.

注記

This tutorial refers to the user sending the invite as inviter, and the user that received the invite as invitee.

Test canceling a friend request

  1. Log in as the inviter, navigate to Social > Sent Friend Requests, and press the Cancel button.

    Test to cancel a sent friend request Unity Byte Wars add friends

    If successful, you will see the following log.

    [FriendsEssentialsWrapper_Starter.cs] [CancelFriendRequests] - Successfully canceled outgoing friend request with User Id: {userId}

Test rejecting a friend request

  1. Log in as the invitee, navigate to Social > Friend Requests, and click the Reject button.

    Test to reject a received friend request Unity Byte Wars add friends

    If successful, you will see the following log.

    [FriendsEssentialsWrapper_Starter.cs] [DeclineFriend] - Successfully rejected friend request with User Id: {userId}

Test accepting a friend request

  1. Log in as the invitee, navigate to Social > Friend Requests, and click the Accept button.

    Test to accept a received friend request Unity Byte Wars add friends

    If successful, you will see the following log.

    [FriendsEssentialsWrapper_Starter.cs] [AcceptFriend] - Successfully accepted friend request with User Id: {userId}