

PlayFab doesn’t require both an email address and username, but this field will allow us to add an option in the future for our players to reset their passwords if they want. We’ll add three input fields to the canvas for the player to enter: their username, email address, and password. If you’re following along using the FPS Microgame, expand the project files to FPS > Scenes, then double-click the IntroMenu scene file to load it into the editor.Ĭlick the Game tab to put the menu scene properly into focus. We’ll start by placing the UI elements we need into the IntroMenu scene for the player to log in or create an account.

Updating the Intro Scene with Login UI Elements
#Unity playerfab registration#
In this article, we’ll add account registration and login as part of the user flow to let players identify who they are on the multiplayer service. PlayFab makes this possible without the need to deploy or maintain any servers or databases ourselves. User accounts and login give players a unique identity in online games and are the first steps to building a rich set of multiplayer experiences.

Let’s take the Unity game project from the previous series and add user login and account creation capabilities with PlayFab. We’ll build on the start of our Unity game project from the first part of this series, and add the ability for users to create a new game account or login with an existing account using PlayFab.
#Unity playerfab how to#
In this article, we’ll learn how to use PlayFab’s user authentication features with user interface (UI) elements inside Unity.
