18 lines
604 B
C#
18 lines
604 B
C#
// Unity 2022 compatibility shim: IAnalytic / AnalyticInfo / EditorAnalytics.SendAnalytic are Unity 6+.
|
|
// Keep call sites compiling with no-op analytics on this editor version.
|
|
#if !UNITY_6000_0_OR_NEWER
|
|
using Unity.Pipeline.Telemetry;
|
|
|
|
namespace Unity.Pipeline.Editor
|
|
{
|
|
internal static class PipelineAnalytics
|
|
{
|
|
internal static void RecordCommandExecuted(in CommandExecutionInfo info) { }
|
|
|
|
internal static void SendSessionStoppedIfStarted() { }
|
|
}
|
|
}
|
|
#else
|
|
#error PipelineAnalytics.cs was replaced with a Unity 2022 shim. Restore the original package file on Unity 6+.
|
|
#endif
|