Exemplo n.º 1
0
 public void CmdTaskStep(CustomPayload payload)
 {
     if (CurrentTask == null)
     {
         return;
     }
     if (CurrentTask.SetCooldownOnStep)
     {
         if (IsHunter)
         {
             CurrentTask.LastHunterOpened = (float)NetworkTime.time;
         }
         else
         {
             CurrentTask.LastVictimOpened = (float)NetworkTime.time;
         }
     }
     CurrentTask.OnTaskStep(this, payload.Data);
 }