public void ChangeAvatarBody()
{
// Change the user's avatar to an embedded asset avatar
SpatialBridge.actorService.localActor.avatar.SetAvatarBody(AssetType.EmbeddedAsset, "OgreAvatar");
// Change the user's avatar to a Spatial Studio avatar
SpatialBridge.actorService.localActor.avatar.SetAvatarBody(AssetType.Package, "ITEM_ID_FROM_SPATIAL_STUDIO");
// Reset the user's avatar to the default
SpatialBridge.actorService.localActor.avatar.ResetAvatarBody();
}
public void ChangeAvatarBody()
{
// Change the user's avatar to an embedded asset avatar
SpatialBridge.actorService.localActor.avatar.SetAvatarBody(AssetType.EmbeddedAsset, "OgreAvatar");
// Change the user's avatar to a Spatial Studio avatar
SpatialBridge.actorService.localActor.avatar.SetAvatarBody(AssetType.Package, "ITEM_ID_FROM_SPATIAL_STUDIO");
// Reset the user's avatar to the default
SpatialBridge.actorService.localActor.avatar.ResetAvatarBody();
}