Skip to content

Instantly share code, notes, and snippets.

@CartBlanche
Created October 18, 2011 22:34
Show Gist options
  • Save CartBlanche/1296947 to your computer and use it in GitHub Desktop.
Save CartBlanche/1296947 to your computer and use it in GitHub Desktop.
MonoGame AwardAchievement wrapper
private void AwardAchievement( string aAchievementName, double aPercentageComplete )
{
if( ( Gamer.SignedInGamers.Count > 0 ) && ( Gamer.SignedInGamers[0].IsSignedInToLive ) )
{
Gamer.SignedInGamers[0].AwardAchievement(aAchievementName, aPercentageComplete);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment