Commit b2b4e869 authored by maxiaoliang's avatar maxiaoliang

修改埋点的区分

parent 1c6cb98d
fileFormatVersion: 2
guid: 62d1c1fa98be64555b74d41268d96b0a
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
......@@ -8660,11 +8660,11 @@ MonoBehaviour:
m_Calls:
- m_Target: {fileID: 716226833}
m_MethodName: clickWithDrawBg
m_Mode: 1
m_Mode: 3
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_IntArgument: 1
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
......@@ -20726,7 +20726,7 @@ MonoBehaviour:
m_Calls:
- m_Target: {fileID: 716226833}
m_MethodName: clickWithDrawBg
m_Mode: 1
m_Mode: 3
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
......@@ -25472,7 +25472,7 @@ MonoBehaviour:
m_Calls:
- m_Target: {fileID: 716226833}
m_MethodName: clickWithDrawBg
m_Mode: 1
m_Mode: 3
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
......@@ -67,12 +67,15 @@ public class AdUtils
public void onAdClose(AdEntity entity)
{
if(PlayerPrefs.GetInt("IS_OPEN_MUSIC", 0) == 0)
Debug.Log("音乐是否开关的值"+ PlayerPrefs.GetInt("IS_OPEN_MUSIC", 0));
if(PlayerPrefs.GetInt("IS_OPEN_MUSIC", 0) == 1)
{
Debug.Log("如果开的重新开");
AudioUtils.ins.music.Play();
}
setCurrentAdEntity(entity);
AdManager.Instance.LoadCacheRewardVideoAd("video");
......
......@@ -651,7 +651,9 @@ public class HomeInfoControl : MonoBehaviour, HomeContract.View
public void clickOrderPlant()
{
AudioUtils.ins.PlayBtnAudio();
EventUtils.OnEvent("yijianzhongzhi");
HttpTool.Instance._Post("app/v2/wdlc/seed_by_wd", null, new Action<OrderSeedData>((bean) =>
{
//LandListInfo(bean.landList);
......
......@@ -137,9 +137,16 @@ public class TitleControl : MonoBehaviour
JumpUtils.Instance.JumpSetting();
}
public void clickWithDrawBg()
public void clickWithDrawBg(int type)
{
if (type == 0)
{
EventUtils.OnEvent("tixian");
}
else
{
EventUtils.OnEvent("maicaizhuanqian");
}
GameObject.Find("Dialog").GetComponent<DialogControl>().showPlantTreeWithDrawDialog();
}
public void clickEveryReward()
......
......@@ -171,7 +171,7 @@ public class Splash : MonoBehaviour
EventUtils.OnEvent("load_splash");
yield return new WaitForSeconds(0.2f);
// isFirstShowSplash == 1 &&
if (PlayerPrefs.GetInt("isFirstShowSplash", 0) == 0)
if (isFirstShowSplash == 1 && PlayerPrefs.GetInt("isFirstShowSplash", 0) == 0)
{
PlayerPrefs.SetInt("isFirstShowSplash", 1);
StartCoroutine(ShowLogin());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment