Analytics.GameMetricLogger.Update C# (CSharp) Method

Update() public method

public Update ( ) : void
return void
        public void Update()
        {
            if (this.debugFlag) {
                this.outputField.text = this.metricsReportText;
            }

            if (!this.isInputEnabled) {
                return;
            }

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

            if (this.gameMetricLoggerStart) {
                this.totalGameTimeSinceEpoch += Time.deltaTime;
                if (this.gameStartFlag) {
                    this.totalGameTime += Time.deltaTime;
                }
            }
        }