Singularity/Library/PackageCache/com.unity.2d.spriteshape@7.0.7/Editor/SpriteShapeEditorAnalytics.cs

30 lines
739 B
C#
Raw Permalink Normal View History

2024-05-06 14:45:45 -04:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.U2D;
using UnityEditor;
namespace UnityEditor.U2D
{
internal class SpriteShapeEditorAnalytics : ScriptableSingleton<SpriteShapeEditorAnalytics>
{
SpriteShapeAnalytics m_Analytics = null;
internal SpriteShapeAnalyticsEvents eventBus
{
get { return analytics.eventBus; }
}
private SpriteShapeAnalytics analytics
{
get
{
if (m_Analytics == null)
m_Analytics = new SpriteShapeAnalytics(new SpriteShapeUnityAnalyticsStorage());
return m_Analytics;
}
}
}
}