SquareDash/Library/PackageCache/com.unity.purchasing@4.10.0/Editor/Analytics/Helpers/GenericEditorFieldEditEventSenderHelpers.cs
kingjuulian06 0efb85038a Arbeit 2
2023-11-21 22:03:49 +01:00

18 lines
557 B
C#

namespace UnityEditor.Purchasing
{
static class GenericEditorFieldEditEventSenderHelpers
{
internal static void SendCatalogEditEvent(string fieldName)
{
BuildAndSendEvent(EventComponents.k_ComponentCodeless, EventTools.k_ToolCatalog, fieldName);
}
static void BuildAndSendEvent(string component, string action, string name)
{
var newEvent = new GenericEditorEditFieldEvent(component, action, name);
PurchasingServiceAnalyticsSender.SendEvent(newEvent);
}
}
}