StopEmote

Method

Stop the current emote on the avatar that was started with PlayEmote

Definition

void StopEmote()
void StopEmote()

Examples

public void StartSwimming()
{
// Play the swim animation on the local actor's avatar
SpatialBridge.actorService.localActor.avatar.PlayEmote(AssetType.EmbeddedAsset, "SwimAnimation", immediately: true, loop: true);
}

public void StopSwimming()
{
SpatialBridge.actorService.localActor.avatar.StopEmote();
}
public void StartSwimming()
{
// Play the swim animation on the local actor's avatar
SpatialBridge.actorService.localActor.avatar.PlayEmote(AssetType.EmbeddedAsset, "SwimAnimation", immediately: true, loop: true);
}

public void StopSwimming()
{
SpatialBridge.actorService.localActor.avatar.StopEmote();
}