Gamebase SDK for Unity 2.76.0 Toast Gamebase Platform

Loading...
Searching...
No Matches

## ◆ GetUserID()

static string GetUserID | ( |  | ) |
| static

Get User ID issued by Gamebase.

Since
  Added 1.4.0.

Returns
  The user id that is currently logged in.

Example Usage :

public void GetUserIDSample()
{
string userID = Gamebase.GetUserID();
Debug.Log(string.Format("userID:{0}", userID));
}
Toast.Gamebase.Gamebase.GetUserID
static string GetUserID()
Get User ID issued by Gamebase.
Definition Gamebase.cs:1757
Toast.Gamebase.Gamebase
The Gamebase class is core of Gamebase service.
Definition Gamebase.cs:11