Skip to content
Snippets Groups Projects
Commit a6761cf3 authored by Mathieu Loiseau's avatar Mathieu Loiseau
Browse files

explication dans le training

parent 4dafb7f2
No related branches found
No related tags found
No related merge requests found
...@@ -178,7 +178,23 @@ public class QCM_manager : MonoBehaviour ...@@ -178,7 +178,23 @@ public class QCM_manager : MonoBehaviour
break; break;
case 9: case 9:
// Explication // Explication
playswitch = true; if (mM.i.type == "training" && mM.i.explication != null && mM.i.explication.Length > 0)
{
if (mM.i.surlignerExplication >= 0.0f)
{
foreach (groupemementChoixEtPrefabBoutonQCM b in mM.list_choix_associed_with_prefabs)
{
if (b.choix.correct)
{
//Debug.Log("choix correct explication doit clignoter i.surlignerExplication=" + mM.i.surlignerExplication);
b.boutonqcmAssocied.clignote(mM.i.surlignerExplication);
}
}
}
mM.executeAsset(mM.i.explication, mM.playSteps, false);
// plus on fait clignoter le bon resultat
}
else { playswitch = true; }
break; break;
case 10: // transition le son est manquant actuellement case 10: // transition le son est manquant actuellement
mM.executeAsset(mM.i.transition, mM.playSteps,false); mM.executeAsset(mM.i.transition, mM.playSteps,false);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment