Cornell Tech-Unity-project  1.0
Public Member Functions | Public Attributes | List of all members
DataCollection Class Reference

Attached to player, collects player data every second and when instructed, data is compiled into json format More...

Inheritance diagram for DataCollection:

Public Member Functions

IEnumerator DataCollector ()
 Coroutine for data collection at specified interval Data Collected: Player coordinates/rotations/action state/object being interacted with/objects position/rotation - all collected with delegate More...
 
void BrowserToC ()
 ACCESS THIS FUNCTION FROM BROWSER. sets doneRecording to true and triggers the data compilation functions More...
 

Public Attributes

int recordingTime = 0
 
List< string > dataStrings = new List<string>()
 
float coroutineWaitTime = 1f
 

Detailed Description

Attached to player, collects player data every second and when instructed, data is compiled into json format

Member Function Documentation

void DataCollection.BrowserToC ( )

ACCESS THIS FUNCTION FROM BROWSER. sets doneRecording to true and triggers the data compilation functions

IEnumerator DataCollection.DataCollector ( )

Coroutine for data collection at specified interval Data Collected: Player coordinates/rotations/action state/object being interacted with/objects position/rotation - all collected with delegate

Returns
Appends to 6 data lists and also adds to recording time

Member Data Documentation

float DataCollection.coroutineWaitTime = 1f
List<string> DataCollection.dataStrings = new List<string>()
int DataCollection.recordingTime = 0

The documentation for this class was generated from the following file: