示例#1
0
文件: Quest.cs 项目: robbie321/FYP
 public void CheckGoals()
 {
     //if anything in goals list is comleted or not
     //if nothing is false, all goals completed
     Completed = Goals.All(g => g.Completed);
     Debug.Log(Completed);
 }
示例#2
0
文件: Quest.cs 项目: nmotocic/PPiJ
 public void CheckGoals()
 {
     if (Goals.All(g => g.Completed))
     {
         Completed = true;
     }
 }
示例#3
0
 public void CheckGoals()
 {
     Completed = Goals.All(g => g.Completed);
     if (Completed)
     {
         GiveReward();
     }
 }
示例#4
0
 public void CheckGoals()
 {
     Completed = Goals.All(goal => goal.Completed); /* When it this checks, it marks it as true. */
     if (Completed)
     {
         GiveReward();
     }
 }
示例#5
0
 public void CheckGoals()
 {
     if (Goals.All(g => g.Completed))
     {
         Completed = true;
         Debug.Log("All goals completed");
     }
     // Completed = Goals.All(g => g.Completed);
 }
示例#6
0
 public void CheckGoals()
 {
     Completed = Goals.All(g => g.Completed);
 }
示例#7
0
 public void CheckGoals()
 {
     Completed = Goals.All(x => x.Completed);
     Quest.RefreshPhasesStates();
     Debug.Log("Phase completed");
 }
示例#8
0
 public void CheckGoals()
 {
     IsCompleted = Goals.All(goal => goal.IsCompleted);
 }
示例#9
0
 public void CheckGoals()
 {
     //Requires Header System.Linq;
     Completed = Goals.All(g => g.Completed);
 }
示例#10
0
 public void CheckGoals()
 {
     Debug.Log("전  " + goal.ID + "  " + goal.CurrentAmount + " " + goal.RequiredAmount);
     Completed = Goals.All(g => g.Completed);
     Debug.Log("후  " + goal.ID + "  " + goal.CurrentAmount + " " + goal.RequiredAmount);
 }
示例#11
0
 }                                         // experiencia que recibiar
 public void CheckGoals()
 {
     Completed = Goals.All(g => g.Completed); // revisa si en el script de goals se cumplen los objetivos si es asi lo pone true
 }