CollabAnalytics.cs 575 B

123456789101112131415161718192021
  1. using System;
  2. namespace UnityEditor.Collaboration
  3. {
  4. internal static class CollabAnalytics
  5. {
  6. [Serializable]
  7. private struct CollabUserActionAnalyticsEvent
  8. {
  9. public string category;
  10. public string action;
  11. }
  12. public static void SendUserAction(string category, string action)
  13. {
  14. EditorAnalytics.SendCollabUserAction(new CollabUserActionAnalyticsEvent() { category = category, action = action });
  15. }
  16. public static readonly string historyCategoryString = "History";
  17. };
  18. }