Class UnityAnalyticsEngine
Unity analytics engine To be funtional, unity services must be enabled
Inherited Members
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: UnityEngine.Industrial.Configuring.Providers
Syntax
public class UnityAnalyticsEngine : MonoBehaviour, IAnalyticsEngine
Methods
SendEvent(String)
Sends the event.
Declaration
public void SendEvent(string eventName)
Parameters
Type | Name | Description |
---|---|---|
String | eventName | Name of the event. |
Implements
SendEvent(AnalyticsEngineEvent)
Sends the event.
Declaration
public void SendEvent(AnalyticsEngineEvent analyticsEvent)
Parameters
Type | Name | Description |
---|---|---|
AnalyticsEngineEvent | analyticsEvent | The analytics event. |
Implements
TrackContext(Context)
Tracks the context.
Declaration
public void TrackContext(Context context)
Parameters
Type | Name | Description |
---|---|---|
Context | context | The context. |
Implements
TrackProduct(Product)
Tracks the product.
Declaration
public void TrackProduct(Product product)
Parameters
Type | Name | Description |
---|---|---|
Product | product | The product. |