Commit 6d2354f1 authored by zhangzhe's avatar zhangzhe

新手引导时关闭大图广告误触

parent 2759e28e
...@@ -82,6 +82,6 @@ Material: ...@@ -82,6 +82,6 @@ Material:
- _UseUIAlphaClip: 0 - _UseUIAlphaClip: 0
- _ZWrite: 1 - _ZWrite: 1
m_Colors: m_Colors:
- _Center: {r: 0, g: -120, b: 0, a: 0} - _Center: {r: 0, g: -58, b: 0, a: 0}
- _Color: {r: 1, g: 1, b: 1, a: 1} - _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1} - _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
...@@ -15554,8 +15554,8 @@ MonoBehaviour: ...@@ -15554,8 +15554,8 @@ MonoBehaviour:
m_TargetGraphic: {fileID: 1531958713} m_TargetGraphic: {fileID: 1531958713}
m_HandleRect: {fileID: 1531958712} m_HandleRect: {fileID: 1531958712}
m_Direction: 2 m_Direction: 2
m_Value: 1.0000033 m_Value: 1
m_Size: 0.93547666 m_Size: 1
m_NumberOfSteps: 0 m_NumberOfSteps: 0
m_OnValueChanged: m_OnValueChanged:
m_PersistentCalls: m_PersistentCalls:
...@@ -43711,7 +43711,7 @@ RectTransform: ...@@ -43711,7 +43711,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: 25} m_AnchoredPosition: {x: 0, y: -295}
m_SizeDelta: {x: 416, y: 120} m_SizeDelta: {x: 416, y: 120}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1431814668 --- !u!114 &1431814668
...@@ -217,7 +217,7 @@ public class Guide : MonoBehaviour ...@@ -217,7 +217,7 @@ public class Guide : MonoBehaviour
material.SetFloat("_SliderX", 208); material.SetFloat("_SliderX", 208);
material.SetFloat("_SliderY", 54); material.SetFloat("_SliderY", 54);
Invoke("moveAllSpeeddialog", 1); //Invoke("moveAllSpeeddialog", 1);
} }
} }
} }
......
...@@ -587,8 +587,11 @@ public class DialogControl : MonoBehaviour ...@@ -587,8 +587,11 @@ public class DialogControl : MonoBehaviour
//#if UNITY_IOS //#if UNITY_IOS
// moveAllSpeedDialog(); // moveAllSpeedDialog();
//#else //#else
Invoke("showAd", 0.5f); if (!PlayerDataControl.Instance.IsNewUser)
Invoke("moveAllSpeedDialog", 1f); {
Invoke("showAd", 0.5f);
Invoke("moveAllSpeedDialog", 1f);
}
//#endif //#endif
//HttpTool.Instance._Get("app/v1/game/reward_video/status", parm, new Action<VideoStatusBean>((bean) => //HttpTool.Instance._Get("app/v1/game/reward_video/status", parm, new Action<VideoStatusBean>((bean) =>
...@@ -1462,8 +1465,11 @@ public class DialogControl : MonoBehaviour ...@@ -1462,8 +1465,11 @@ public class DialogControl : MonoBehaviour
DialogControl.landId = landId; DialogControl.landId = landId;
tvtiaojian.text = "距离"+ "<color=#FF0000><size=45>" + wdInfo.yuan+"元</size></color>"+"无门槛提现还差"; tvtiaojian.text = "距离"+ "<color=#FF0000><size=45>" + wdInfo.yuan+"元</size></color>"+"无门槛提现还差";
Invoke("showAd", 0.5f); if (!PlayerDataControl.Instance.IsNewUser)
Invoke("moveHarvestHongBao", 1f); {
Invoke("showAd", 0.5f);
Invoke("moveHarvestHongBao", 1f);
}
} }
private void setTvtijian(int harvestPlantId) private void setTvtijian(int harvestPlantId)
......
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