RewardBadge

Method

Rewards a badge to the user. This will trigger a badge notification to appear.

Definition

void RewardBadge(string badgeID)
void RewardBadge(string badgeID)

Parameters

ParameterDescription
string badgeID

Badge ID

Examples

public void Reward()
{
SpatialBridge.badgeService.RewardBadge("BADGE_ID_FROM_SPATIAL_STUDIO");
}
public void Reward()
{
SpatialBridge.badgeService.RewardBadge("BADGE_ID_FROM_SPATIAL_STUDIO");
}