Skip to content
Snippets Groups Projects
Commit a92cc837 authored by jorgeobispo's avatar jorgeobispo
Browse files

Más opciones para la actividad de discriminación de fonema

parent dc24677f
Branches
Tags
No related merge requests found
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
"fonema": "p", "fonema": "p",
"palabrasPorFonema": { "palabrasPorFonema": {
"palabras1": [ "palabras1": [
"pollo", "pato",
"puño" "puño"
], ],
"palabras2": [ "palabras2": [
...@@ -26,6 +26,19 @@ ...@@ -26,6 +26,19 @@
] ]
} }
}, },
{
"fonema": "p",
"palabrasPorFonema": {
"palabras1": [
"paloma",
"panda"
],
"palabras2": [
"subir",
"abeja"
]
}
},
{ {
"fonema": "b", "fonema": "b",
"palabrasPorFonema": { "palabrasPorFonema": {
...@@ -38,6 +51,32 @@ ...@@ -38,6 +51,32 @@
"puño" "puño"
] ]
} }
},
{
"fonema": "b",
"palabrasPorFonema": {
"palabras1": [
"cobre",
"robo",
"subir"
],
"palabras2": [
"lupa"
]
}
},
{
"fonema": "b",
"palabrasPorFonema": {
"palabras1": [
"brazo",
"brújula"
],
"palabras2": [
"pila",
"pelota"
]
}
} }
] ]
} }
\ No newline at end of file
...@@ -803,7 +803,7 @@ MonoBehaviour: ...@@ -803,7 +803,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: b29fe82106979c440a61559e6afc3c94, type: 3} m_Script: {fileID: 11500000, guid: b29fe82106979c440a61559e6afc3c94, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
controladorGeneradorOpciones: {fileID: 0} controladorGeneradorOpciones: {fileID: 1489101734}
--- !u!95 &469511374 --- !u!95 &469511374
Animator: Animator:
serializedVersion: 4 serializedVersion: 4
......
using System.Collections.Generic;
using TMPro; using TMPro;
using UnityEngine; using UnityEngine;
using UnityEngine.SceneManagement; using UnityEngine.SceneManagement;
...@@ -7,10 +8,12 @@ public class PulsarFonema : MonoBehaviour ...@@ -7,10 +8,12 @@ public class PulsarFonema : MonoBehaviour
{ {
public ControladorFonemas fonemas; public ControladorFonemas fonemas;
Button fonemaButton; Button fonemaButton;
List<string> actividadOrden = new();
void Start() void Start()
{ {
actividadOrden = StringListManager.Instance.actividadOrder;
GameObject objetoDeLaEscena = GameObject.Find("CanvasFonemas"); // Busca el objeto por nombre GameObject objetoDeLaEscena = GameObject.Find("CanvasFonemas"); // Busca el objeto por nombre
...@@ -44,6 +47,7 @@ public class PulsarFonema : MonoBehaviour ...@@ -44,6 +47,7 @@ public class PulsarFonema : MonoBehaviour
TextMeshProUGUI textoTMPro = fonemaButton.GetComponentInChildren<TextMeshProUGUI>(); TextMeshProUGUI textoTMPro = fonemaButton.GetComponentInChildren<TextMeshProUGUI>();
// Guarda los datos en el disco duro. // Guarda los datos en el disco duro.
PlayerPrefs.SetString("fonema", textoTMPro.text); PlayerPrefs.SetString("fonema", textoTMPro.text);
SceneManager.LoadScene("Inicio"); // SceneManager.LoadScene("Inicio");
Funciones.Volver(actividadOrden);
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment