示例#1
0
 public static void SetLevel(int val)
 {
     PlayerPrefs.SetInt("level", val);
     if (GetQuestEndTime() != string.Empty && DateTime.Compare(DateTime.Now, DateTime.Parse(GetQuestEndTime())) < 0 && val == GetQuestEndLevel())
     {
         SetQuestCompleted(1);
         NotificationSystem.DisableQuestLastTwoHoursNotifications();
     }
 }