void SendEvent() { //payload.Send(); if (BackendManager.Instance != null) { BackendManager.SendData(metric_name, datatosend.propertyValue); } }
public static void LogCustomMetric(string metricName, string dataToSend) { BackendManager.SendData(metricName, dataToSend); }
public static void LogSessionPlaytime() { BackendManager.SendData("Session Playtime", (Time.time - Instance.sessionStartTime).ToString()); }