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()); } } }
public void OnDrop(BaseEventData bases) { canvas.OnDrop(this); }