void Start() { //if (ExperimentSettings_CoinTask.isLogging) { myLoggerQueue = new LoggerQueue(); myLoggerWriter = new LoggerWriter(fileName, myLoggerQueue); myLoggerWriter.Start(); myLoggerWriter.log("DATE: " + DateTime.Now.ToString("M/d/yyyy")); //might not be needed //} }
void Start () { exp = GameObject.FindGameObjectWithTag ("Experiment").GetComponent<Experiment>(); if (!exp.isReplay) { myLoggerQueue = new LoggerQueue (); myLoggerWriter = new LoggerWriter (fileName, myLoggerQueue); myLoggerWriter.Start (); myLoggerWriter.log ("DATE: " + DateTime.Now.ToString ("M/d/yyyy")); //might not be needed } }