Example #1
0
 //Task is read
 private IEnumerator ReadTask()
 {
     if (image != null)                                                                                 //if there is task image
     {
         if (image.enabled)                                                                             //if task is not read
         {
             image.enabled = false;                                                                     //hide task image
             yield return(taskManagement.AddUpdateTask(taskInfo, "Player", new string[] { signText })); //add task to HUD
         }
     }
 }
Example #2
0
 private IEnumerator UpdateTask()
 {
     yield return(taskManagement.AddUpdateTask(taskInfo, dialogue.name, dialogue.sentences));
 }