Gamebase SDK for Unity 2.76.0 Toast Gamebase Platform

Loading...
Searching...
No Matches

## ◆ SetUserField()

static void SetUserField | ( | string | key,
|  | string | value )
| static

Used to predefine additional information.

The value set here is sent together without being set every time.

Since
  Added 2.6.0.

Parameters

  key | The key of the additional information.
  value | The value of the additional information.

Example Usage :

public void SetUserFieldSample()
{
Gamebase.Logger.SetUserField("KEY", "VALUE");
}
Toast.Gamebase.Gamebase.Logger.SetUserField
static void SetUserField(string key, string value)
Used to predefine additional information.
Definition Gamebase.cs:3503
Toast.Gamebase.Gamebase.Logger
Send a log to Log & Crash Server.
Definition Gamebase.cs:3309
Toast.Gamebase.Gamebase
The Gamebase class is core of Gamebase service.
Definition Gamebase.cs:11