private void DoAnalytics(Vector2 oldPos) { BiomeType biomeType = GetBiomeTypeFromMap(oldPos); float chunkLeaveTime = Time.realtimeSinceStartup; if (chunkEnterTime != 0) { float timeInPreviousChunk = chunkLeaveTime - chunkEnterTime; AnalyticsHelper.AddChunkTime(oldPos, biomeType, timeInPreviousChunk); } chunkEnterTime = Time.realtimeSinceStartup; }