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
69cd238c
Commit
69cd238c
authored
Jun 23, 2021
by
maxiaoliang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
b41b8bb5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
625 additions
and
21 deletions
+625
-21
开启幸运.png
Assets/Game/Main/Resource/ui/dialog/luckyturntable/开启幸运.png
+0
-0
CrazyCar.unity
Assets/Game/Main/Scenes/CrazyCar.unity
+561
-6
Guide.cs
Assets/Game/Main/Scripts/Utils/Guide.cs
+45
-0
DialogControl.cs
Assets/Game/Main/Scripts/View/DialogControl.cs
+9
-5
HomeInfoControl.cs
Assets/Game/Main/Scripts/View/HomeInfoControl.cs
+1
-1
PlantTreeControl.cs
Assets/Game/Main/Scripts/dialog/PlantTreeControl.cs
+8
-8
PackageManagerSettings.asset
ProjectSettings/PackageManagerSettings.asset
+1
-1
No files found.
Assets/Game/Main/Resource/ui/dialog/luckyturntable/开启幸运.png
View replaced file @
b41b8bb5
View file @
69cd238c
38.2 KB
|
W:
|
H:
41.7 KB
|
W:
|
H:
2-up
Swipe
Onion skin
Assets/Game/Main/Scenes/CrazyCar.unity
View file @
69cd238c
This diff is collapsed.
Click to expand it.
Assets/Game/Main/Scripts/Utils/Guide.cs
View file @
69cd238c
...
...
@@ -216,6 +216,51 @@ public class Guide : MonoBehaviour
Step7
.
SetActive
(
true
);
}
}
public
void
onClickStep7
()
{
DissmissGuide
(
false
);
if
(
PlayerPrefs
.
GetInt
(
step8Key
,
0
)
==
0
)
{
PlayerPrefs
.
SetInt
(
step8Key
,
1
);
Debug
.
Log
(
"显示第8步"
);
Step8
.
SetActive
(
true
);
}
}
public
void
onClickStep8
()
{
DissmissGuide
(
false
);
if
(
PlayerPrefs
.
GetInt
(
step9Key
,
0
)
==
0
)
{
PlayerPrefs
.
SetInt
(
step9Key
,
1
);
Debug
.
Log
(
"显示第9步"
);
Step9
.
SetActive
(
true
);
}
}
public
void
onClickStep9
()
{
DissmissGuide
(
false
);
if
(
PlayerPrefs
.
GetInt
(
step10Key
,
0
)
==
0
)
{
PlayerPrefs
.
SetInt
(
step10Key
,
1
);
Debug
.
Log
(
"显示第10步"
);
Step10
.
SetActive
(
true
);
}
}
public
void
onClickStep10
()
{
DissmissGuide
(
false
);
if
(
PlayerPrefs
.
GetInt
(
step11Key
,
0
)
==
0
)
{
PlayerPrefs
.
SetInt
(
step11Key
,
1
);
Debug
.
Log
(
"显示第11步"
);
Step11
.
SetActive
(
true
);
}
}
public
void
onClickStep11
()
{
DissmissGuide
(
false
);
}
//public void onClickStep6()
//{
// Debug.Log("点击第6步");
...
...
Assets/Game/Main/Scripts/View/DialogControl.cs
View file @
69cd238c
...
...
@@ -514,17 +514,21 @@ public class DialogControl : MonoBehaviour
//关闭获取钻石弹窗
public
void
closeDiamondDialog
()
{
if
(
DiamondDialog
.
activeSelf
)
{
AudioUtils
.
ins
.
PlayBtnAudio
();
DiamondDialog
.
SetActive
(
false
);
diamondcontent
.
transform
.
localPosition
-=
new
Vector3
(
0
,
340
,
0
);
AdUtils
.
closeFeedAd
();
}
}
//获取钻石奖励
public
void
getDiamondReward
()
{
//closeDiamondDialog();
closeDiamondDialog
();
AudioUtils
.
ins
.
PlayBtnAudio
();
EventUtils
.
OnEvent
(
"addDiamond_click"
,
"点击钻石加号"
);
HttpTool
.
Instance
.
_Get
(
"app/v1/wdlc/reward/diamond_by_video_status"
,
null
,
new
Action
<
DiamondStatusBean
>((
bean
)
=>
...
...
Assets/Game/Main/Scripts/View/HomeInfoControl.cs
View file @
69cd238c
...
...
@@ -708,7 +708,7 @@ public class HomeInfoControl : MonoBehaviour, HomeContract.View
public
void
DidSelectedShiwujiangli
()
{
AudioUtils
.
ins
.
PlayBtnAudio
();
Guide
.
guide
.
onClickStep7
();
EventUtils
.
OnEvent
(
"click_wodelibao"
,
"点击我的礼包"
);
if
(
RealAwardsVM
.
dataModel
!=
null
)
...
...
Assets/Game/Main/Scripts/dialog/PlantTreeControl.cs
View file @
69cd238c
...
...
@@ -13,14 +13,14 @@ public class PlantTreeControl : MonoBehaviour
{
clickone
();
}
//
private void Awake()
//
{
//
EventCenter.AddListener(MyEventType.RefreshPlantTreeWithDraw, getWithDrawData);
//
}
//
private void OnDestroy()
//
{
//
EventCenter.RemoveListener(MyEventType.RefreshPlantTreeWithDraw, getWithDrawData);
//
}
private
void
Awake
()
{
EventCenter
.
AddListener
(
MyEventType
.
RefreshPlantTreeWithDraw
,
getWithDrawData
);
}
private
void
OnDestroy
()
{
EventCenter
.
RemoveListener
(
MyEventType
.
RefreshPlantTreeWithDraw
,
getWithDrawData
);
}
//void Start()
//{
// // getWithDrawData();
...
...
ProjectSettings/PackageManagerSettings.asset
View file @
69cd238c
...
...
@@ -17,7 +17,7 @@ MonoBehaviour:
m_Registries
:
-
m_Id
:
main
m_Name
:
m_Url
:
https://packages.unity.c
om
m_Url
:
https://packages.unity.c
n
m_Scopes
:
[]
m_IsDefault
:
1
m_UserSelectedRegistryName
:
...
...
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