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
        //}
    }
예제 #2
0
	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
		}
	}