Analytics.SimulationMetricsLogger.Update C# (CSharp) Method

Update() public method

public Update ( ) : void
return void
        public void Update()
        {
            this.outputField.GetComponentInChildren<Text>().text = this.outputField.text.ToString();

            if (Input.GetKeyUp(this.triggerKey)) {
                ToggleCanvasGroup();
                SimulationMetricsLogger.PrintLog();
            }

            for (int i = 0; i < this.teamMetrics.Count; i++) {
                if (this.simulationMetricsLoggerStart) {
                    TeamMetric temp = this.teamMetrics[i];
                    temp.totalGameTimeSinceEpoch += Time.deltaTime;
                    if (this.gameStartFlag) {
                        temp.totalGameTime += Time.deltaTime;
                    }
                    this.teamMetrics[i] = temp;
                }
            }
        }