riversong code showcase
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user