2 User Data
Available in the Steamworks Complete and Foundation asset.

Introduction

This scene demonstrates the use of UserData and displaying common information such as the user's avatar and name.

What do I learn?

  1. 1.
    That User Data exists and can be used to display user information
  2. 2.
    How to use Set User Avatar
  3. 3.
    How to use Set User Name
  4. 4.
    How to access the Knowledge Base (where you are now)
  5. 5.
    How to access the support Discord
  6. 6.
    How to leave a review 😉

Objects

Manager

The manage game object has the Steamworks Behaviour component attached and will handle initialization of the Steam API on start up.

Avatar Image

Located at Canvas/Info/Border/AvatarImage
This game object makes use of the Set User Avatar component to set the local user's avatar image to the UnityEngine.UI.RawImage

uGUI Steam Name

Located at Canvas/Info/UGUI Steam Name
This game object makes use of UGUI Set User Name to set the local user's name to a UnityEngine.UI.Text

TMPro Steam Name

Located at Canvas/Info/TMPro Steam Name
This game object makes use of TMPro Set User Name to set the local user's name to a TMPro.TextMeshProUGUI

DEMO SCRIPTS

This contains internal demo scripts used in the scene which are all marked as deprecated. They simply drive the buttons in the menu nothing more.