From 0c8f95d87373964fc54877439cf25511ece9de24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=97=AB=E5=A9=B7=E5=A9=B7?= Date: Tue, 21 Jun 2022 11:02:53 +0800 Subject: [PATCH] =?UTF-8?q?adjust=20=E8=A1=A5=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Joypac/Scripts/JoypacAnalyticsManager.cs | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/popcorn/Assets/Joypac/Scripts/JoypacAnalyticsManager.cs b/popcorn/Assets/Joypac/Scripts/JoypacAnalyticsManager.cs index 5e0c5867..7dbd4a48 100644 --- a/popcorn/Assets/Joypac/Scripts/JoypacAnalyticsManager.cs +++ b/popcorn/Assets/Joypac/Scripts/JoypacAnalyticsManager.cs @@ -725,7 +725,7 @@ public class JoypacAnalyticsManager : MonoBehaviour // ... -#if JOYPAC_Volcano_OS && UNITY_IOS && !UNITY_EDITOR +#if JOYPAC_Volcano_OS && UNITY_IOS //&& !UNITY_EDITOR JoypacAdjustFinder joypacAdjustFinder = new JoypacAdjustFinder(attribution); string jsonFinder = JsonUtility.ToJson(joypacAdjustFinder); Debug.Log(jsonFinder); @@ -942,6 +942,14 @@ public class JoypacAdjustFinder public string adjust_network = ""; [SerializeField] public string adjust_trackerName = ""; + [SerializeField] + public string adjust_campaign = ""; + [SerializeField] + public string adjust_costType = ""; + [SerializeField] + public double? adjust_costAmount = 0.0d; + [SerializeField] + public string adjust_costCurrency = ""; public JoypacAdjustFinder(AdjustAttribution attribution) { @@ -953,6 +961,10 @@ public class JoypacAdjustFinder adjust_clickLabel = attribution.clickLabel; adjust_network = attribution.network; adjust_trackerName = attribution.trackerName; + adjust_campaign = attribution.campaign; + adjust_costType = attribution.costType; + adjust_costAmount = attribution.costAmount; + adjust_costCurrency = attribution.costCurrency; } }