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

概要 - Steam でログインする - (Unity モジュール)

Last updated on November 25, 2024
備考

This tutorial module does not apply to WebGL builds due to limitations in Steamworks.

Introduction

AccelByte provides third-party single platform authentication to enable your players to log in to your game using credentials provided by a third party. To get you started, this module teaches you how to implement single platform authentication using Steam.

Prerequisites

In order to complete this module, you will need:

  • To have completed the following module:

  • Steam installed on your system.

  • 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": ["SinglePlatformAuth"]
    }
    注記

    You will need to close and reopen Unity for the module override to take effect.

Learning objectives

At the end of this module, you will know how to implement Steam logins.

Preview

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

login with steam is implemented without auto login Unity Byte Wars Steam

login with steam is implemented with auto login Unity Byte Wars Steam