示例#1
0
 void CheckTaskInvolvement(TaskSO task, TaskEventSO value)
 {
     if (character == task.Character)
     {
         RegisterTask(task);
     }
 }
示例#2
0
 void EndTask(TaskSO stepToFinish, TaskEventSO value)
 {
     if (stepToFinish == _currentTask)
     {
         UnregisterTask();
     }
     else
     {
         PlayTaskDialogue();
     }
 }