No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

SpriteShapeEditorAnalytics.cs 739B

1234567891011121314151617181920212223242526272829
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using UnityEngine.U2D;
  5. using UnityEditor;
  6. namespace UnityEditor.U2D
  7. {
  8. internal class SpriteShapeEditorAnalytics : ScriptableSingleton<SpriteShapeEditorAnalytics>
  9. {
  10. SpriteShapeAnalytics m_Analytics = null;
  11. internal SpriteShapeAnalyticsEvents eventBus
  12. {
  13. get { return analytics.eventBus; }
  14. }
  15. private SpriteShapeAnalytics analytics
  16. {
  17. get
  18. {
  19. if (m_Analytics == null)
  20. m_Analytics = new SpriteShapeAnalytics(new SpriteShapeUnityAnalyticsStorage());
  21. return m_Analytics;
  22. }
  23. }
  24. }
  25. }