public void modificarEstadoTarea(SFSObject dataObject) { //Debug.Log("volviste tarea!"); Task tarea = new Task(); tarea.fromSFSObject(dataObject); foreach (Sprint sprint in listaSprints) foreach (UserStory us in sprint.getListaStories()) foreach (Task t in us.getListaTareas()){ if (t.getId_Task() == tarea.getId_Task()) t.setEstado(tarea.getEstado()); } crearPlanoTask planoTask = (crearPlanoTask)(GameObject.Find("panelTaskBoard")).GetComponent("crearPlanoTask"); planoTask.actualizar(listaSprints); }