20240422
This commit is contained in:
commit
e0afef912e
1285 files changed
+83219
No files matched your search
@@ -0,0 +1,20 @@
|
||||
namespace Mapbox.Unity.Telemetry
|
||||
{
|
||||
public static class TelemetryFactory
|
||||
{
|
||||
public static ITelemetryLibrary GetTelemetryInstance()
|
||||
{
|
||||
#if UNITY_EDITOR
|
||||
return TelemetryEditor.Instance;
|
||||
#elif UNITY_IOS
|
||||
return TelemetryIos.Instance;
|
||||
#elif UNITY_ANDROID
|
||||
return TelemetryAndroid.Instance;
|
||||
#elif UNITY_WEBGL
|
||||
return TelemetryWebgl.Instance;
|
||||
#else
|
||||
return TelemetryFallback.Instance;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user