Ejemplo n.º 1
0
 // Update is called once per frame
 void Update()
 {
     InfoText.text = string.Format("<color=blue>Trial Number</color>: {0}\n" +
                                   "<color=blue>Platform</color>: {1}\n" +
                                   "<color=blue>Selected Animals</color>: {3}\n" +
                                   "<color=blue>Experiment Time</color>: {2:f2} seconds\n" +
                                   "<color=blue>Stress Level</color>: {4}\n",
                                   _trialNumber, _platformName, DataRecorder.GetCurrentTimeStamp(), _animalString, _stressPanel == null ? "[ERROR]" : _stressPanel.CurrentStressLevel + "");
 }