Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


userId

Gets or sets a user identifier supplied by the developer, typically the player's id in a third-party identity provider.
Read time 1 minuteLast updated 9 days ago

Definition

public static string userId { get; set; }

Remarks

The value persists across game sessions. Values longer than 1024 characters are rejected with ArgumentOutOfRangeException.