Account Management Flow - Prefab

UI to manage player accounts [IDEN-AccountMgmt-Prefab]

This guide includes everything needed to use the Account Management Flow Feature Prefab in the "Beamable SDK for Unity". Or watch this video.

User Experience

When set up properly, the user experience in the game project will be as follows:

Steps

Follow these steps to get started:

StepDetail
1. Open the "Toolbox" Window• Unity → Window → Beamable → Open Toolbox
2. Add the "Account HUD" Prefab• Drag this Prefab from the Beamable Toolbox Window to the Unity Hierarchy Window
3. Add the "Account Management Flow" Prefab• Drag this Prefab from the Beamable Toolbox Window to the Unity Hierarchy Window

Result: The Unity Hierarchy Window contains both prefabs.

4. (Optional) Disable the "Account Management Flow" Prefab

• Select this Prefab in the Unity Hierarchy Window
• View this Prefab in the Unity Inspector Window.
• Uncheck the "Enabled" Checkbox.

Result: Now this UI will not be initially visible to player at runtime
5. (Optional) Enable the "Account HUD" Prefab

• Select the "Account HUD" Prefab in the Unity Hierarchy Window
• View this in the Unity Inspector Window
• Find the "Account Management Signals" Component
• Find the "On Toggle Account Management" Event Component
• Click the "+" Button
• Drag the "Account Management Flow" Prefab from the Unity Hierarchy Window into the Object field next to the "+" Button
• Select "GameObject.SetActive" from the dropdown

Result: Now this UI will be visible to player at runtime after the Beamable system is ready

User Interface

When set up properly, the player's user interface in the game project will be as follows:

363

The Beamable "Account Management Flow" UI in the Unity Game Window

From here, the player can edit account details including account name and account avatar.

The player can switch accounts and sign in with various methods. See the Identity section for more info.

When finished, the player can close the Account Management Flow window and return to the game-specific content.