Added practice mode
This commit is contained in:
parent
50841fd69b
commit
ef0ad1d90c
@ -87,9 +87,9 @@ public class ExperimentController : MonoBehaviour {
|
|||||||
{
|
{
|
||||||
trialIndex++;
|
trialIndex++;
|
||||||
trialDotIndex = 0;
|
trialDotIndex = 0;
|
||||||
dataSet.SaveDataSet();
|
if(participant.participantId != 9999) dataSet.SaveDataSet();
|
||||||
dataSet.Samples.Clear();
|
dataSet.Samples.Clear();
|
||||||
if (trialIndex < participant.trials.Length)
|
if (trialIndex < participant.trials.Length && participant.participantId != 9999)
|
||||||
{
|
{
|
||||||
nextDot = FindDot(participant.trials[trialIndex][trialDotIndex]);
|
nextDot = FindDot(participant.trials[trialIndex][trialDotIndex]);
|
||||||
Show(nextDot);
|
Show(nextDot);
|
||||||
@ -103,7 +103,7 @@ public class ExperimentController : MonoBehaviour {
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
dataSet.SaveDataSet();
|
if (participant.participantId != 9999) dataSet.SaveDataSet();
|
||||||
}
|
}
|
||||||
stopwatch.Start();
|
stopwatch.Start();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user