Exemplo n.º 1
0
            public override string GetValue(AnalyticsManager analyticsManager)
            {
                float timeSinceLastLogged = analyticsManager.timerSinceLastLog.TimeElapsed;

                analyticsManager.timerSinceLastLog.Reset();
                analyticsManager.timerSinceLastLog.Start();
                return("" + timeSinceLastLogged);
            }
Exemplo n.º 2
0
 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);
 }
Exemplo n.º 3
0
 public override string GetValue(AnalyticsManager analyticsManager)
 {
     return("" + analyticsManager.sessionTimer.TimeElapsed);
 }
Exemplo n.º 4
0
 public override string GetValue(AnalyticsManager analyticsManager)
 {
     return("" + analyticsManager.sessionNumber);
 }
Exemplo n.º 5
0
 public override string GetValue(AnalyticsManager analyticsManager)
 {
     return("" + (analyticsManager.previousTotalGameplayDuration + analyticsManager.sessionTimer.TimeElapsed));
 }
Exemplo n.º 6
0
 public override string GetValue(AnalyticsManager analyticsManager)
 {
     return(SceneManager.GetActiveScene().name);
 }
Exemplo n.º 7
0
 public override string GetValue(AnalyticsManager analyticsManager)
 {
     return("");
 }
Exemplo n.º 8
0
 public virtual void LogData(AnalyticsManager analyticsManager)
 {
     analyticsManager.form.AddField(GetFieldNameInForm(analyticsManager), GetValue(analyticsManager));
     analyticsManager.columnData.Add(dataColumnName, GetValue(analyticsManager));
 }
Exemplo n.º 9
0
 public virtual string GetValue(AnalyticsManager analyticsManager)
 {
     return("");
 }
Exemplo n.º 10
0
 public virtual string GetFieldNameInForm(AnalyticsManager analyticsManager)
 {
     return(analyticsManager.dataColumnDict[dataColumnName].fieldNameInForm);
 }
Exemplo n.º 11
0
 public override void LogData(AnalyticsManager analyticsManager)
 {
     base.LogData(analyticsManager);
     killedBy.LogData(analyticsManager);
 }