Skip to main content

Overview - Display friend list - (Unity module)

Last updated on October 24, 2024

Introduction

In this module, you will learn how to get and display a friend list on a simple user interface.

Prerequisites

In order to complete this module, you will need:

  • To have completed the following modules:

  • The Byte Wars tutorialmodules branch checked out in your local Byte Wars Unity project repository.

  • To have force enabled this module. You can do this by adding the following code to the Assets/Resources/Modules/TutorialModuleConfig.json file:

      {
    "enableModulesOverride": true,
    "forceEnabledModules": ["FriendEssentials"],
    "forceDisabledOtherModules" : true,
    }

Learning objectives

At the end of this module, you know how to implement requesting and displaying a player's friends.

Preview

At the end of this module, your project will look like the image below.

Get accepted friend list demo Unity Byte Wars friend list