概要 - 統計データを追跡し表示する - (Unity モジュール)
Last updated on October 23, 2024
Introduction
You can increase player engagement by tracking their statistics (stats) related to performance or skill level, among others. This module will guide you through integrating the AccelByte Gaming Services (AGS) Statistics service into your game to track a player stats.
Prerequisites
In order to complete this module, you will need:
To have completed the following module:
- Login with device ID* The Byte Wars
tutorialmodules
branch checked out in your local Byte Wars Unity project repository.
- Login with device ID* The Byte Wars
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": ["StatsEssentials"],
"forceDisabledOtherModules" : true
}
Learning objectives
At the end of this module, you will know how to create and edit player stats, and implement:
- Querying the stat values and displaying them.
- Updating the stat value from the game client or server.
Preview
At the end of this module, your project will look like the image below.