public override string GetValue(AnalyticsManager analyticsManager) { float timeSinceLastLogged = analyticsManager.timerSinceLastLog.TimeElapsed; analyticsManager.timerSinceLastLog.Reset(); analyticsManager.timerSinceLastLog.Start(); return("" + timeSinceLastLogged); }
public virtual void LogData(AnalyticsManager analyticsManager) { analyticsManager.form = new WWWForm(); analyticsManager.columnData.Clear(); gameVersion.LogData(analyticsManager); player.LogData(analyticsManager); scene.LogData(analyticsManager); timeSinceLastLog.LogData(analyticsManager); eventName.LogData(analyticsManager); sessionDuration.LogData(analyticsManager); totalGameplayDuration.LogData(analyticsManager); sessionNumber.LogData(analyticsManager); }
public override string GetValue(AnalyticsManager analyticsManager) { return("" + analyticsManager.sessionTimer.TimeElapsed); }
public override string GetValue(AnalyticsManager analyticsManager) { return("" + analyticsManager.SessionNumber); }
public override string GetValue(AnalyticsManager analyticsManager) { return("" + (TimeManager.TotalGameplayDuration + analyticsManager.sessionTimer.TimeElapsed)); }
public override string GetValue(AnalyticsManager analyticsManager) { return(SceneManager.GetActiveScene().name); }
public override string GetValue(AnalyticsManager analyticsManager) { return(""); }
public override string GetValue(AnalyticsManager analyticsManager) { return("" + BuildManager.Instance.versionIndex); }
public virtual void LogData(AnalyticsManager analyticsManager) { analyticsManager.form.AddField(GetFieldNameInForm(analyticsManager), GetValue(analyticsManager)); analyticsManager.columnData.Add(dataColumnName, GetValue(analyticsManager)); }
public virtual string GetValue(AnalyticsManager analyticsManager) { return(""); }
public virtual string GetFieldNameInForm(AnalyticsManager analyticsManager) { return(analyticsManager.dataColumnDict[dataColumnName].fieldNameInForm); }
public override void LogData(AnalyticsManager analyticsManager) { base.LogData(analyticsManager); killedBy.LogData(analyticsManager); }