using System; namespace Unity.Multiplayer.Center.Common.Analytics { /// /// The type of interaction that the user has with a button in the getting started tab. /// public enum InteractionDataType { /// /// For a button that does something in the editor, e.g. a button that opens a window or imports a sample. /// CallToAction = 0, /// /// For a button that opens a URL in the browser (e.g. a documentation link). /// Link = 1, } /// /// For the object that provides the analytics functionality to send interaction events on some Onboarding section /// in the getting started tab. /// public interface IOnboardingSectionAnalyticsProvider { /// /// Send event for a button interaction in the getting started tab. /// /// Whether it is a call to action or a link /// The name of the button in the UI void SendInteractionEvent(InteractionDataType type, string displayName); } }