Events.CustomData.deprecated.cs 688 B

1234567891011121314151617
  1. using System;
  2. using System.Collections.Generic;
  3. namespace Unity.Services.Analytics
  4. {
  5. public static partial class Events
  6. {
  7. /// <summary>
  8. /// Record a custom event. A schema for this event must exist on the dashboard or it will be ignored.
  9. /// </summary>
  10. [Obsolete("The interface provided by this method has moved to AnalyticsService.Instance.CustomData, and should be accessed from there instead. This API will be removed in an upcoming release.")]
  11. public static void CustomData(string eventName, IDictionary<string, object> eventParams)
  12. {
  13. AnalyticsService.Instance.CustomData(eventName, eventParams);
  14. }
  15. }
  16. }