PO/Library/PackageCache/com.unity.2d.spriteshape@5.1.4/Editor/SpriteShapeEditorAnalytics.cs

30 lines
739 B
C#
Raw Normal View History

2022-01-12 10:06:03 +03: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;
}
}
}
}