A game about forced loneliness, made by TACStudios
1using System;
2
3namespace Unity.Multiplayer.Center.Common.Analytics
4{
5 /// <summary>
6 /// The type of interaction that the user has with a button in the getting started tab.
7 /// </summary>
8 public enum InteractionDataType
9 {
10 /// <summary>
11 /// For a button that does something in the editor, e.g. a button that opens a window or imports a sample.
12 /// </summary>
13 CallToAction = 0,
14
15 /// <summary>
16 /// For a button that opens a URL in the browser (e.g. a documentation link).
17 /// </summary>
18 Link = 1,
19 }
20
21 /// <summary>
22 /// For the object that provides the analytics functionality to send interaction events on some Onboarding section
23 /// in the getting started tab.
24 /// </summary>
25 public interface IOnboardingSectionAnalyticsProvider
26 {
27 /// <summary>
28 /// Send event for a button interaction in the getting started tab.
29 /// </summary>
30 /// <param name="type"> Whether it is a call to action or a link</param>
31 /// <param name="displayName"> The name of the button in the UI</param>
32 void SendInteractionEvent(InteractionDataType type, string displayName);
33 }
34}