Skip to main content

Play Test - Manage Friends - (Unity module)

Last updated on December 13, 2024

To test this feature, you will need to log in as a user that has at least one friend on the friend list. Repeat the steps you did for the playtests for the Search for Player and Add Friend modules as needed to ensure your test clients have friends on their list.

Block a player

  1. Play the game in Unity Editor.

  2. Log in as any user that has at least one friend and go to Social > Friends.

  3. Click on any friend and block them. Your project will look like the image below with the following logs:

    Test to block a friend Unity Byte Wars manage friends

    [ManagingFriendsWrapper_Starter.cs] [BlockPlayer] - Successfully blocked player with user Id: {userId}

Unblock a player

  1. Play the game in Unity Editor.

  2. Log in as any user that has at least one blocked player and go to Social > Friends > Blocked Players.

  3. Click the corresponding Unblock button of a blocked player. Your project will look like the image below with the following logs:

    Test to Unblock a player Unity Byte Wars manage friends

    [ManagingFriendsWrapper_Starter.cs] [UnblockPlayer] - Successfully unblocked player with user Id: {userId}

Unfriend a player

  1. Play the game in Unity Editor.

  2. Log in as any user that has at least one friend and go to Social > Friends.

  3. Click on a friend and unfriend them. Your project will look like the image below with the following logs:

    Test to unfriend a friend Unity Byte Wars manage friends

    [ManagingFriendsWrapper_Starter.cs] [Unfriend] - Successfully unfriended player with user Id: {userId}