Singularity/Library/PackageCache/com.unity.2d.spriteshape@7.0.7/Editor/SpriteShapeEditorAnalytics.cs
2024-05-06 11:45:45 -07:00

30 lines
739 B
C#

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;
}
}
}
}