Ejemplo n.º 1
0
 public void OnDrop(BaseEventData bases)
 {
     if (timer.enabled == true)
     {
         canvas.OnDrop(this);
         if ((currentSymptom.name == currentSymptom2.name && itemName == currentSymptom.name + " Cure") || itemName == currentSymptom.name + " " + currentSymptom2.name + " Cure" || itemName == currentSymptom2.name + " " + currentSymptom.name + " Cure")
         {
             StartCoroutine(Cured());
         }
         else
         {
             StartCoroutine(Dead());
         }
     }
 }
Ejemplo n.º 2
0
 public void OnDrop(BaseEventData bases)
 {
     canvas.OnDrop(this);
 }