Example #1
0
    public static void AllSandyBeachAchievement()
    {
        if (PersistenSingleton <SceneDirector> .Instance.CurrentScene != SceneDirector.WorldMapSceneName)
        {
            return;
        }
        Int32 num = EMinigame.CountVisitedSandyBeach();

        if (EMinigame.lastNumOfVisitedSandyBeach != num)
        {
            AchievementManager.ReportAchievement(AcheivementKey.AllSandyBeach, num);
            EMinigame.lastNumOfVisitedSandyBeach = num;
        }
    }
Example #2
0
 public static void InitializeAllSandyBeachAchievement()
 {
     EMinigame.lastNumOfVisitedSandyBeach = EMinigame.CountVisitedSandyBeach();
 }