Ejemplo n.º 1
0
 public void Clean()
 {
     timeToClean -= Time.deltaTime;
     if (timeToClean <= 0)
     {
         if (pc.SelectedClass == PlayerClass.CaretakerClass.Detective)
         {
             brokenBy.Track();
         }
         lm.AddDamageCashValue((int)(-Value * 0.5f));
         Destroy(gameObject);
     }
 }