Facepunch.Steamworks Wiki

Achievement Unlocked

void Awake() { // // Tell Steamworks to call this function when something happens // Steamworks.SteamUserStats.OnAchievementProgress += AchievementChanged; } private void AchievementChanged( Steamworks.Data.Achievement ach, int currentProgress, int progress ) { if ( ach.State ) { Debug.Log( $"{ach.Name} WAS UNLOCKED!" ); } }

Page Links


Special Pages


Wikis

?

Render Time: 13ms

DB GetPage 2
Generate Html 1
SaveChanges (1) 8
Render Body 0
Render Sidebar 1