Last minute stuff

This commit is contained in:
Chris Midkiff 2018-11-30 15:04:39 -05:00
parent aafee8ff86
commit 50841fd69b
4 changed files with 35 additions and 7 deletions

View File

@ -233,12 +233,12 @@ Prefab:
- target: {fileID: 224720632774813148, guid: 49f39d13b583ef54c853f20f5179b584, - target: {fileID: 224720632774813148, guid: 49f39d13b583ef54c853f20f5179b584,
type: 2} type: 2}
propertyPath: m_AnchoredPosition.x propertyPath: m_AnchoredPosition.x
value: -9.98 value: -11.96
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 224720632774813148, guid: 49f39d13b583ef54c853f20f5179b584, - target: {fileID: 224720632774813148, guid: 49f39d13b583ef54c853f20f5179b584,
type: 2} type: 2}
propertyPath: m_AnchoredPosition.y propertyPath: m_AnchoredPosition.y
value: -18.68 value: -21.84
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 224720632774813148, guid: 49f39d13b583ef54c853f20f5179b584, - target: {fileID: 224720632774813148, guid: 49f39d13b583ef54c853f20f5179b584,
type: 2} type: 2}

View File

@ -530,6 +530,36 @@ Prefab:
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Target propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Target
value: value:
objectReference: {fileID: 246886986} objectReference: {fileID: 246886986}
- target: {fileID: 114496915892972470, guid: 49f39d13b583ef54c853f20f5179b584,
type: 2}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Target
value:
objectReference: {fileID: 246886986}
- target: {fileID: 114496915892972470, guid: 49f39d13b583ef54c853f20f5179b584,
type: 2}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_MethodName
value: BackToStart
objectReference: {fileID: 0}
- target: {fileID: 114109528806814276, guid: 49f39d13b583ef54c853f20f5179b584,
type: 2}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Target
value:
objectReference: {fileID: 246886986}
- target: {fileID: 114109528806814276, guid: 49f39d13b583ef54c853f20f5179b584,
type: 2}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_MethodName
value: BackToStart
objectReference: {fileID: 0}
- target: {fileID: 114110466022003668, guid: 49f39d13b583ef54c853f20f5179b584,
type: 2}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Target
value:
objectReference: {fileID: 246886986}
- target: {fileID: 114110466022003668, guid: 49f39d13b583ef54c853f20f5179b584,
type: 2}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_MethodName
value: BackToStart
objectReference: {fileID: 0}
m_RemovedComponents: [] m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 49f39d13b583ef54c853f20f5179b584, type: 2} m_SourcePrefab: {fileID: 100100000, guid: 49f39d13b583ef54c853f20f5179b584, type: 2}
m_IsPrefabAsset: 0 m_IsPrefabAsset: 0

View File

@ -42,8 +42,8 @@ namespace Assets.Scripts
client.Headers[HttpRequestHeader.ContentType] = "application/x-www-form-urlencoded"; client.Headers[HttpRequestHeader.ContentType] = "application/x-www-form-urlencoded";
string ud = "userStudyId=" + name + "&userStudyData=" + data; string ud = "userStudyId=" + name + "&userStudyData=" + data;
string response = client.UploadString(endpoint, ud); client.UploadStringAsync(new Uri(endpoint), ud);
UnityEngine.Debug.Log("Received Response: " + response);
} }
} }
@ -70,8 +70,7 @@ namespace Assets.Scripts
using (var client = new WebClient()) using (var client = new WebClient())
{ {
client.Headers[HttpRequestHeader.ContentType] = "application/json"; client.Headers[HttpRequestHeader.ContentType] = "application/json";
var resp = client.UploadString("http://home.superpichu.org:9009", body.ToString()); client.UploadStringAsync(new Uri("http://home.superpichu.org:9009"), body.ToString());
UnityEngine.Debug.Log("Recv: " + resp);
} }
} }
} }

View File

@ -85,7 +85,6 @@ public class ExperimentController : MonoBehaviour {
} }
else if(trialIndex < participant.trials.Length) else if(trialIndex < participant.trials.Length)
{ {
// NEXT TRIAL SHIT
trialIndex++; trialIndex++;
trialDotIndex = 0; trialDotIndex = 0;
dataSet.SaveDataSet(); dataSet.SaveDataSet();