
In this quickstart you use LoginWithCustomID to perform the log in. Then select the name of your project under the C++ classes.Īdd PlayFab API calls to your C++ LoginActor If you don't see your LoginActor, select the Show or hide the source panel icon. It will appear in the World Outliner pane. If you give the Actor a different name, you must update the sample code provided in this quickstart to match the new name.ĭrag-and-drop your new Actor LoginActor from the Content Browser into the Viewport panel. After you create the Actor, Unreal Engine automatically opens your C++ development environment and loads LoginActor.cpp and LoginActor.h.įor the purposes of this quickstart, you must name the Actor LoginActor. For information about logging in from a Blueprints project, see "Calling PlayFab from Unreal Blueprints" later in this article.

The following steps walk you through creating a Tile that logs into PlayFab using a custom ID. From the context menu, select Generate Visual Studio project files.In the root folder of the project, right-click the YouProjectName.uproject file.Open a file explorer window and navigate to folder where your project files are located.To update and generate the Visual Studio project files necessary to use the PlayFab plugin: Generate the necessary Visual Studio project files In Solution Explorer, navigate to Solution\Games\YourProjectName\Source and open .Īdd the following line: PrivateDependencyModuleNames.AddRange(new string ) In Visual Studio, add PlayFab as a module dependency in your C++ project:įrom the View menu open Solution Explorer which displays your C++ project files. Enable the PlayFab plugin and restart Unreal Engine as required.Īdd PlayFab as a Module dependency in C++.From the Settings menu, under Game Specific Settings click Plugins.

Choose a name for your project such as MyProject.Įnable the PlayFab Plugin in your Unreal project.In Project Settings, select either C++ or Blueprint.For detailed instructions, follow the Create a New Project guide. In Unreal Engine, create a new Unreal Project. You can install the Unreal plugin from the Unreal Engine marketplace. An installation of the PlayFab Unreal plugin.

For information about installing the Unreal Engine, see the Unreal Engine installation guide.

For information about configuring Visual Studio, see Setting Up Visual Studio for Unreal Engine.
