Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


id

This user's global unique identifier.
Read time 1 minuteLast updated 12 days ago

Definition

Warning
Deprecated. IUserProfile is deprecated and will be removed in a future release.
string id { get; }

Remarks

For devices running iOS version 12.4 and later, _id returns GKPlayer.teamPlayerID.
For devices running iOS version 12.3 and earlier, _id returns GKPlayer.playerID.
Use _id instead of _legacyId. Only use _legacyId if you need to access GKPlayer.playerID to migrate player data in your existing project.