Select Avatar
Describe how to send message to Unity to select loaded avatar
Pair of
AvatarCollectionId
and TokenId
is passed to Unity to select specific loaded avatar.Determines
AvatarCollectionId
of the selecting loaded avatarDetermines
TokenId
of the selecting loaded avatarfunction selectAvatar(avatarCollectionId: number, tokenId: string)
{
sendMessage("MessageHandler", "SelectAvatar", JSON.stringify({
avatarCollectionId: avatarCollectionId,
tokenId: tokenId
}))
}
Last modified 4mo ago