Events
Predefined Progression Events
Track level transitions, tutorial completions, and unlocks.
Predefined progression events track key moments in a game's progression — level transitions, tutorial completions, and unlockable content. Trigger these from the appropriate places within the game to ensure accurate analytics.
Usage example
Hammer.Instance.ANALYTICS_ProgressionEvents.LevelStart(1);
Hammer.Instance.ANALYTICS_ProgressionEvents.TutorialStart("BasicMovement");Event list
| Function | Description |
|---|---|
LevelStart(int level) | Trigger when a level starts. |
LevelComplete(int level) | Trigger when a level is successfully completed. |
LevelFail(int level) | Trigger when a player fails a level. |
TutorialStart(string tutorialName) | Trigger when a tutorial begins. |
TutorialComplete(string tutorialName) | Trigger when a tutorial is successfully completed. |
AreaUnlocked(string areaName) | Trigger when a new game area is unlocked. |
CharacterUnlocked(string characterName) | Trigger when a new character is unlocked. |
FeatureUnlocked(string featureName) | Trigger when a new feature is unlocked. |
ItemUnlocked(string itemName) | Trigger when a new item is unlocked. |