Commit 71b6acdb authored by Samantha Straka's avatar Samantha Straka
Browse files

basst so

parent f910af30
This diff is collapsed.
fileFormatVersion: 2
guid: bc238b7fb1cc8de428bb4f395335acd3
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
......@@ -34,6 +34,8 @@ public class GameManager : MonoBehaviour
public GameObject smallAngleModerator;
private bool canTriggerNewCondition;
public GameObject end;
private string start;
private string endTime="";
......@@ -182,7 +184,8 @@ public class GameManager : MonoBehaviour
public void addStartTime()
{
print("Startzeit");
logfile.Add("Starttime" + System.DateTime.Now.ToString("HH:mm:ss:fff"));
start=System.DateTime.Now.ToString("HH:mm:ss:fff");
//logfile.Add("Starttime" + System.DateTime.Now.ToString("HH:mm:ss:fff"));
}
public void checkHowManyCubesInPuzzle(int counter)
......@@ -318,7 +321,8 @@ public class GameManager : MonoBehaviour
{
end.GetComponent<MeshRenderer>().enabled=true;
print("Study over");
logfile.Add("Endtime" + System.DateTime.Now.ToString("HH:mm:ss:fff"));
endTime=System.DateTime.Now.ToString("HH:mm:ss:fff");
//logfile.Add("Endtime" + System.DateTime.Now.ToString("HH:mm:ss:fff"));
WriteLog();
}
......@@ -343,7 +347,7 @@ public class GameManager : MonoBehaviour
setPuzzleMaterial(puzzlematerialName);
distractorconditions.Remove(puzzlematerialName);
adconditions.Remove(postermaterialName);
logfile.Add(condition.ToString() + "," + postermaterialName + "," + puzzlematerialName + "," + System.DateTime.Now.ToString("HH:mm:ss:fff"));
logfile.Add(StartScript.VPNummer +",0," + postermaterialName + "," + puzzlematerialName + "," + System.DateTime.Now.ToString("HH:mm:ss") + ",Fehler,"+ start+","+endTime);
// print(condition.ToString() + "," + postermaterialName + "," + puzzlematerialName + "," + System.DateTime.Now.ToString("HH:mm:ss:fff"));
break;
......@@ -358,7 +362,7 @@ public class GameManager : MonoBehaviour
setPuzzleMaterial(puzzlematerialName);
distractorconditions.Remove(postermaterialName);
adconditions.Remove(puzzlematerialName);
logfile.Add(condition.ToString() + "," + postermaterialName + "," + puzzlematerialName + "," + System.DateTime.Now.ToString("HH:mm:ss:fff"));
logfile.Add(StartScript.VPNummer +",0," + postermaterialName + "," + puzzlematerialName + "," + System.DateTime.Now.ToString("HH:mm:ss") + ",Fehler,"+ start+","+endTime);
//print(condition.ToString() + "," + postermaterialName + "," + puzzlematerialName + "," + System.DateTime.Now.ToString("HH:mm:ss:fff"));
break;
......@@ -375,8 +379,8 @@ public class GameManager : MonoBehaviour
setPuzzleMaterial(puzzlematerialName);
distractorconditions.Remove(postermaterialName);
distractorconditions.Remove(puzzlematerialName);
logfile.Add(condition.ToString() + "," + postermaterialName + "," + puzzlematerialName + "," + System.DateTime.Now.ToString("HH:mm:ss:fff"));
print(condition.ToString() + "," + postermaterialName + "," + puzzlematerialName + "," + System.DateTime.Now.ToString("HH:mm:ss:fff"));
logfile.Add(StartScript.VPNummer +",0," + postermaterialName + "," + puzzlematerialName + "," + System.DateTime.Now.ToString("HH:mm:ss") + ",Fehler,"+ start+","+endTime);
print((StartScript.VPNummer +",0," + postermaterialName + "," + puzzlematerialName + "," + System.DateTime.Now.ToString("HH:mm:ss") + ",Fehler,"+ start+","+end));
break;
......@@ -390,7 +394,7 @@ public class GameManager : MonoBehaviour
setPuzzleMaterial(puzzlematerialName);
distractorconditions.Remove(postermaterialName);
distractorconditions.Remove(puzzlematerialName);
logfile.Add(condition.ToString() + "," + postermaterialName + "," + puzzlematerialName + "," + System.DateTime.Now.ToString("HH:mm:ss:fff"));
logfile.Add(StartScript.VPNummer +",0," + postermaterialName + "," + puzzlematerialName + "," + System.DateTime.Now.ToString("HH:mm:ss") + ",Fehler,"+ start+","+endTime);
break;
......@@ -404,7 +408,7 @@ public class GameManager : MonoBehaviour
}
public void WriteLog()
{
logfile.Add("Endtime" + System.DateTime.Now.ToString("HH:mm:ss:fff"));
// logfile.Add("Endtime" + System.DateTime.Now.ToString("HH:mm:ss:fff"));
StreamWriter sw = new StreamWriter(Application.dataPath +"/LogFiles/" + StartScript.VPNummer);
print("Writing Data...");
......
6
1
0,disney,banane,12:01:48:790
Starttime12:01:48:850
Starttime12:01:48:851
aew
2
aew,0,mcdonalds,duck,15:25:06,Fehler,,
1,1
2,2
3,3
......@@ -21,7 +19,7 @@ Starttime12:01:48:851
7,7
8,8
9,9
1,phone,vw,12:02:44:401
aew,0,insta,phone,15:25:34,Fehler,15:25:09:552,
1,1
2,2
3,3
......@@ -40,7 +38,7 @@ Starttime12:01:48:851
7,7
8,8
9,9
1,duck,adidas,12:03:40:913
aew,0,tokei,disney,15:25:49,Fehler,15:25:09:552,
1,1
2,2
3,3
......@@ -59,7 +57,7 @@ Starttime12:01:48:851
7,7
8,8
9,9
1,abstract,insta,12:04:31:912
aew,0,vw,abstract,15:26:09,Fehler,15:25:09:552,
1,1
2,2
3,3
......@@ -78,7 +76,7 @@ Starttime12:01:48:851
7,7
8,8
9,9
1,fabric,paypal,12:05:10:524
aew,0,lights,paypal,15:26:23,Fehler,15:25:09:552,
1,1
2,2
3,3
......@@ -97,7 +95,7 @@ Starttime12:01:48:851
7,7
8,8
9,9
0,cola,lights,12:05:55:975
aew,0,facebook,bear,15:26:41,Fehler,15:25:09:552,
1,1
2,2
3,3
......@@ -116,61 +114,7 @@ Starttime12:01:48:851
7,7
8,8
9,9
0,facebook,wuusch,12:06:45:113
1,1
2,2
3,3
4,7
5,5
6,6
7,4
8,8
9,9
1,1
2,2
3,3
4,7
5,5
6,6
7,4
8,8
9,9
1,1
2,2
3,3
4,7
5,5
6,6
7,4
8,8
9,9
1,1
2,2
3,3
4,7
5,5
6,6
7,4
8,8
9,9
1,1
2,2
3,3
4,7
5,5
6,6
7,4
8,8
9,9
1,1
2,2
3,3
4,7
5,5
6,6
7,4
8,8
9,9
aew,0,banane,nike,15:26:54,Fehler,15:25:09:552,
1,1
2,2
3,3
......@@ -189,7 +133,7 @@ Starttime12:01:48:851
7,7
8,8
9,9
0,mcdonalds,bear,12:07:44:007
aew,0,tokei,adidas,15:27:20,Fehler,15:25:09:552,
1,1
2,2
3,3
......@@ -208,7 +152,7 @@ Starttime12:01:48:851
7,7
8,8
9,9
0,nike,tonkarton,12:08:27:187
aew,0,fabric,cola,15:28:00,Fehler,15:25:09:552,
1,1
2,2
3,3
......@@ -227,7 +171,7 @@ Starttime12:01:48:851
7,7
8,8
9,9
1,tokei,twitter,12:09:04:968
aew,0,amazon,tonkarton,15:28:18,Fehler,15:25:09:552,
1,1
2,2
3,3
......@@ -246,5 +190,3 @@ Starttime12:01:48:851
7,7
8,8
9,9
Endtime12:10:12:879
Endtime12:10:12:880
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment