Commit e36beeb2 authored by zhangzhe's avatar zhangzhe

每次回到前台显示存钱罐,收货弹窗上台问题

parent 208eb01f
...@@ -9107,9 +9107,9 @@ RectTransform: ...@@ -9107,9 +9107,9 @@ RectTransform:
m_Father: {fileID: 1548415916} m_Father: {fileID: 1548415916}
m_RootOrder: 0 m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0} m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 0} m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 355, y: 0} m_AnchoredPosition: {x: 355, y: -72.5}
m_SizeDelta: {x: 710, y: 0} m_SizeDelta: {x: 710, y: 0}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &300181110 --- !u!114 &300181110
...@@ -30803,7 +30803,7 @@ GameObject: ...@@ -30803,7 +30803,7 @@ GameObject:
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
m_NavMeshLayer: 0 m_NavMeshLayer: 0
m_StaticEditorFlags: 0 m_StaticEditorFlags: 0
m_IsActive: 1 m_IsActive: 0
--- !u!224 &1007627802 --- !u!224 &1007627802
RectTransform: RectTransform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
...@@ -52581,7 +52581,7 @@ GameObject: ...@@ -52581,7 +52581,7 @@ GameObject:
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
m_NavMeshLayer: 0 m_NavMeshLayer: 0
m_StaticEditorFlags: 0 m_StaticEditorFlags: 0
m_IsActive: 1 m_IsActive: 0
--- !u!224 &1710032075 --- !u!224 &1710032075
RectTransform: RectTransform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
...@@ -55965,7 +55965,7 @@ GameObject: ...@@ -55965,7 +55965,7 @@ GameObject:
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
m_NavMeshLayer: 0 m_NavMeshLayer: 0
m_StaticEditorFlags: 0 m_StaticEditorFlags: 0
m_IsActive: 1 m_IsActive: 0
--- !u!224 &1813439481 --- !u!224 &1813439481
RectTransform: RectTransform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
...@@ -149,7 +149,7 @@ public class CarPresenter : CarContract.Presenter ...@@ -149,7 +149,7 @@ public class CarPresenter : CarContract.Presenter
#endif #endif
Guide.guide.onClickStep3(); Guide.guide.onClickStep3();
//EventUtils.OnEvent("newUser_cashOut", "当日新用户完成引导提现"); //EventUtils.OnEvent("newUser_cashOut", "当日新用户完成引导提现");
if (PlayerPrefs.GetInt("step5Key", 0) == 0) if (PlayerPrefs.GetInt("finishedStrongGuide") != 1)
{ {
EventCenter.Broadcast(MyEventType.FlyRedPack, landId); EventCenter.Broadcast(MyEventType.FlyRedPack, landId);
} }
......
...@@ -192,6 +192,8 @@ public class Guide : MonoBehaviour ...@@ -192,6 +192,8 @@ public class Guide : MonoBehaviour
Invoke("showFlyBox", 60); Invoke("showFlyBox", 60);
LeeMainController.Instance.UpdateTitleBG2Info(); LeeMainController.Instance.UpdateTitleBG2Info();
PlayerPrefs.SetInt("finishedStrongGuide", 1);
//Car4Obj.transform.parent = Car4Parent.transform; //Car4Obj.transform.parent = Car4Parent.transform;
//if (PlayerPrefs.GetInt(step5Key, 0) == 0) //if (PlayerPrefs.GetInt(step5Key, 0) == 0)
//{ //{
......
...@@ -1366,11 +1366,17 @@ public class DialogControl : MonoBehaviour ...@@ -1366,11 +1366,17 @@ public class DialogControl : MonoBehaviour
Invoke("moveHarvestHongBao", 1f); Invoke("moveHarvestHongBao", 1f);
} }
/// <summary>
/// 收货奖励弹窗移动
/// </summary>
private void moveHarvestHongBao() private void moveHarvestHongBao()
{ {
transform.Find("HarvestHongBao/BgImage").localPosition = new Vector3(0, 370, 0); transform.Find("HarvestHongBao/BgImage").localPosition = new Vector3(0, 370, 0);
} }
/// <summary>
/// 关闭收货奖励弹窗
/// </summary>
public void CloseHarvestHongBao() public void CloseHarvestHongBao()
{ {
AudioUtils.ins.PlayBtnAudio(); AudioUtils.ins.PlayBtnAudio();
...@@ -1379,6 +1385,8 @@ public class DialogControl : MonoBehaviour ...@@ -1379,6 +1385,8 @@ public class DialogControl : MonoBehaviour
transform.Find("HarvestHongBao").gameObject.SetActive(false); transform.Find("HarvestHongBao").gameObject.SetActive(false);
transform.Find("HarvestHongBao/BgImage").localPosition = new Vector3(0, 120, 0);
EventCenter.Broadcast(MyEventType.FlyRedPack, landId); EventCenter.Broadcast(MyEventType.FlyRedPack, landId);
} }
} }
...@@ -196,7 +196,7 @@ public class StartControl : MonoBehaviour ...@@ -196,7 +196,7 @@ public class StartControl : MonoBehaviour
//#endif //#endif
DialogControl.Instance.showPigBankDialog();
if (lastCloseTime > 0) if (lastCloseTime > 0)
{ {
......
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