Ejemplo n.º 1
0
    //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

    void Awake()
    {
        instance            = this;
        imgMission.enabled  = false;
        textMission.enabled = false;
        currentMission      = PlayingObjectManager.GetLevelMission();
    }
Ejemplo n.º 2
0
 //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
 void Awake()
 {
     instance = this;
     imgMission.enabled=false;
     textMission.enabled=false;
     currentMission = PlayingObjectManager.GetLevelMission();
 }
Ejemplo n.º 3
0
 public void ResolveCompletedCounter(MissionCounter counter)
 {
     for (int i = 0; i < outcomes.Length; i++)
     {
         for (int y = 0; y < outcomes[i].goals.Length; y++)
         {
             if (outcomes[i].goals[y].goalCounter == counter)
             {
                 outcomes[i].goals[y].completed = true;
             }
         }
         if (outcomes[i].CheckGoals())
         {
             CompleteOutcome(i);
         }
     }
     parentQuestArc.questUpdateEvent.Raise();
 }