private void SetAnalyzerInfo(List <IAnalyzeFileWriter> analyzeExecutes, ILogReaderPerFrameData logReader) { ProfilerLogFormat format = ProfilerLogFormat.TypeData; if (logReader.GetType() == typeof(UTJ.ProfilerReader.RawData.ProfilerRawLogReader)) { format = ProfilerLogFormat.TypeRaw; } foreach (var analyzer in analyzeExecutes) { analyzer.SetInfo(format, Application.unityVersion, logReader.GetLogFileVersion(), logReader.GetLogFilePlatform()); } }
private static void SetAnalyzerInfo(List <IAnalyzeFileWriter> analyzeExecutes, ILogReaderPerFrameData logReader) { ProfilerLogFormat format = ProfilerLogFormat.TypeData; if (logReader.GetType() == typeof(UTJ.ProfilerReader.RawData.ProfilerRawLogReader)) { format = ProfilerLogFormat.TypeRaw; } string unityVersion = Application.unityVersion; if (!string.IsNullOrEmpty(overrideUnityVersion)) { unityVersion = overrideUnityVersion; } foreach (var analyzer in analyzeExecutes) { analyzer.SetInfo(format, unityVersion, logReader.GetLogFileVersion(), logReader.GetLogFilePlatform()); } }