public void StartTherapy() { QueryIdTherapy(); QueryIdPatient(); if (inputTherapyId.text != "" && inputPatientId.text != "") { if (statePatient == true && stateTherapist == true) { tso.Login(); DisplayPatientInfo(); DisplayTherapistInfo(); LoadMinigames(true, false, false, true, true, false); } else { notificationText.text = "Datos incorrectos"; notification.SetActive(true); } } else { notificationText.text = "Campos vacios"; notification.SetActive(true); } }
public void StartTherapy() { if (tso != null) { tso.Login(); DisplayPatientInfo(); DisplayTherapistInfo(); LoadMinigames(); } else { Debug.Log("No therapy session object found"); LoadMinigames(); } }