Step 2 - Using Account Management Flow

Overview

Here is everything needed to use the Account Management Flow Feature PrefabFeature Prefab - The drag-and-drop template for a specific Beamable product feature in the "Beamable SDK for Unity". Or watch this video.

User Experience

When setup properly, the user experience in the game project will be as follows.

Steps

Follow these steps to get started.

Step

Detail

  1. Open the "Toolbox" Window

• Unity → Window → Beamable → Open Toolbox

  1. Add the "Account HUD" Prefab

• Drag this Prefab from the Beamable Toolbox Window to the Unity Hierarchy Window

  1. 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.

  1. (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

  1. (Optional) Enable the "Account Management Flow" 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 setup properly, the player's user interface in the game project will be as follows.

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

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 Accounts feature page for more info.

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


Did this page help you?