Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
W
wdlc_mjb_unity
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王雪伟
wdlc_mjb_unity
Commits
e36beeb2
Commit
e36beeb2
authored
Jul 09, 2021
by
zhangzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
每次回到前台显示存钱罐,收货弹窗上台问题
parent
208eb01f
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
8 deletions
+18
-8
CrazyCar.unity
Assets/Game/Main/Scenes/CrazyCar.unity
+6
-6
CarPresenter.cs
Assets/Game/Main/Scripts/Presenter/CarPresenter.cs
+1
-1
Guide.cs
Assets/Game/Main/Scripts/Utils/Guide.cs
+2
-0
DialogControl.cs
Assets/Game/Main/Scripts/View/DialogControl.cs
+8
-0
StartControl.cs
Assets/Scripts/StartControl.cs
+1
-1
No files found.
Assets/Game/Main/Scenes/CrazyCar.unity
View file @
e36beeb2
...
@@ -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
Assets/Game/Main/Scripts/Presenter/CarPresenter.cs
View file @
e36beeb2
...
@@ -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
);
}
}
...
...
Assets/Game/Main/Scripts/Utils/Guide.cs
View file @
e36beeb2
...
@@ -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)
//{
//{
...
...
Assets/Game/Main/Scripts/View/DialogControl.cs
View file @
e36beeb2
...
@@ -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
);
}
}
}
}
Assets/Scripts/StartControl.cs
View file @
e36beeb2
...
@@ -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
)
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment