displayName
A string to display for the player.
Declaration
var displayName: String { get }Mentioned in
Discussion
The display name for a player depends on whether the player is a friend of the local player on the device. If the player is a friend of the local player, the display name is the actual name of the player. If the player isn’t a friend, the display name is the player’s alias.