displayName

Property

The display name for the user. This is displayed in the nametag and on the user's profile page.

Returns string

Examples

public TMP_Text displayName;
public TMP_Text username;
public TMP_Text userID;

public void DisplayActorData()
{
displayName.text = SpatialBridge.actorService.localActor.displayName;
username.text = SpatialBridge.actorService.localActor.username;
userID.text = SpatialBridge.actorService.localActor.userID;
}
public TMP_Text displayName;
public TMP_Text username;
public TMP_Text userID;

public void DisplayActorData()
{
displayName.text = SpatialBridge.actorService.localActor.displayName;
username.text = SpatialBridge.actorService.localActor.username;
userID.text = SpatialBridge.actorService.localActor.userID;
}