profileColor

Property

The color of the actor's profile picture background.

Returns Color

Examples

public RawImage profilePicture;
public Image profilePictureBackground;

public void SetProfilePicture()
{
SpatialBridge.actorService.localActor.GetProfilePicture().SetCompletedEvent((request) => {
profilePicture.texture = request.texture;
});
profilePictureBackground.color = SpatialBridge.actorService.localActor.profileColor;
}
public RawImage profilePicture;
public Image profilePictureBackground;

public void SetProfilePicture()
{
SpatialBridge.actorService.localActor.GetProfilePicture().SetCompletedEvent((request) => {
profilePicture.texture = request.texture;
});
profilePictureBackground.color = SpatialBridge.actorService.localActor.profileColor;
}