Files
riversong-code-showcase/Source/Riversong/Game/CommonServices/Analytics/AnalyticsServiceFactory.cs
2026-05-21 16:04:49 +02:00

14 lines
332 B
C#

namespace DanieleMarotta.RiversongCodeShowcase
{
public static class AnalyticsServiceFactory
{
public static IAnalyticsService Create()
{
#if UNITY_EDITOR && !ENABLE_EDITOR_ANALYTICS
return new NoOpAnalyticsService();
#else
return new UnityAnalyticsService();
#endif
}
}
}