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
b2b4e869
Commit
b2b4e869
authored
Jun 15, 2021
by
maxiaoliang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改埋点的区分
parent
1c6cb98d
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
20 additions
and
16 deletions
+20
-16
CSJ.meta
Assets/AdSDK/AD/CSJ.meta
+0
-8
CrazyCar.unity
Assets/Game/Main/Scenes/CrazyCar.unity
+4
-4
AdUtils.cs
Assets/Game/Main/Scripts/Utils/AdUtils.cs
+4
-1
HomeInfoControl.cs
Assets/Game/Main/Scripts/View/HomeInfoControl.cs
+2
-0
TitleControl.cs
Assets/Game/Main/Scripts/View/TitleControl.cs
+9
-2
Splash.cs
Assets/Scripts/Splash/Splash.cs
+1
-1
No files found.
Assets/AdSDK/AD/CSJ.meta
deleted
100644 → 0
View file @
1c6cb98d
fileFormatVersion: 2
guid: 62d1c1fa98be64555b74d41268d96b0a
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
Assets/Game/Main/Scenes/CrazyCar.unity
View file @
b2b4e869
...
...
@@ -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
Assets/Game/Main/Scripts/Utils/AdUtils.cs
View file @
b2b4e869
...
...
@@ -67,10 +67,13 @@ 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
);
...
...
Assets/Game/Main/Scripts/View/HomeInfoControl.cs
View file @
b2b4e869
...
...
@@ -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);
...
...
Assets/Game/Main/Scripts/View/TitleControl.cs
View file @
b2b4e869
...
...
@@ -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
()
...
...
Assets/Scripts/Splash/Splash.cs
View file @
b2b4e869
...
...
@@ -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
());
...
...
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