Beispiel #1
0
 void SceneChanged(Scene previousScene, Scene nextScene)
 {
     StatisticsTracking.EndAllStartedEvents();
     StatisticsTracking.StartEvent("Scene", nextScene.name);
 }
Beispiel #2
0
 void OnApplicationQuit()
 {
     StatisticsTracking.EndAllStartedEvents();
     StatisticsTracking.EndEvent("Application", "Calcflow");
     StatisticsTracking.StopTracking();
 }
Beispiel #3
0
 void Awake()
 {
     StatisticsTracking.StartEvent("Application", "Calcflow", null, false);
     SceneManager.activeSceneChanged += SceneChanged;
 }
Beispiel #4
0
 void OnDisable()
 {
     StatisticsTracking.EndEvent("Object Active", GetObjectName());
 }
Beispiel #5
0
 void OnEnable()
 {
     StatisticsTracking.StartEvent("Object Active", GetObjectName());
 }
Beispiel #6
0
 void OnDestroy()
 {
     StatisticsTracking.EndEvent("Object Life", GetObjectName());
 }
Beispiel #7
0
 void Awake()
 {
     StatisticsTracking.StartEvent("Object Life", GetObjectName());
 }