Exemple #1
0
 public void MissionFinished(Mission mission)
 {
     finishedMissionsNumber++;
     GlobalOptions.GetPlayerScript().Yahoo();
     SetMissionFinished(mission.GetId());
     currentMissions.Remove(mission);
     if (currentMissions.Count == 0)
     {
         NotifyNoMissions();
     }
     thisLifeFinishedMissions.Add(mission);
     CurrentMissionsSerializer.SaveCurrentMissions(currentMissions, misionCurrentTag);
     CurrentMissionsSerializer.RemoveMissionData(mission);
     timeOutTime = Time.time + GetTimeOut();
 }