Beispiel #1
0
        private IEnumerator ForceCompletion()
        {
            for (int i = 0; i < Objectives.Count; i++)
            {
                QuestObjective currentObjective = Objectives[i];

                if (currentObjective.state != QuestObjectiveState.Completed)
                {
                    yield return(currentObjective.ForceComplete());
                }
            }
        }
Beispiel #2
0
 public void CompleteObjective()
 {
     objective.ForceComplete();
 }