Exemple #1
0
            public bool IsUnlocked()
            {
                if (characterIdToUnlock <= 0)
                {
                    return(true);
                }

                var playTimes = PlayerPrefsHelper.GetCharacterPlayTimes(characterIdToUnlock);

                return(playTimes >= characterPlayTimesToUnlock);
            }