private void PlayRound() { //Prevents Other Games Activating Achievement if (PlayerData.Instance.CurrentGame != CasinoGames.Blackjack) { return; } roundsPlayed.UpdateAchievement(1, roundsPlayedText); if (roundsPlayed.HasUnlocked) { achievementManager.AchivementUnlocked(roundsPlayed); BlackJackManager.OnStartPlayerTurn -= PlayRound; } }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter