username

Property

The username for the public profile of the user.

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;
}