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
9add2a8b
Commit
9add2a8b
authored
Jun 15, 2021
by
zhangzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首次加载开屏广告倒序,我的礼包按钮加按下效果和埋点
parent
5201ca0f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
1 deletion
+20
-1
CSJ.meta
Assets/AdSDK/AD/CSJ.meta
+8
-0
AdManager.cs
Assets/Base/AdSDK/AD/AD_Manager/AdManager.cs
+9
-0
HomeInfoControl.cs
Assets/Game/Main/Scripts/View/HomeInfoControl.cs
+3
-1
No files found.
Assets/AdSDK/AD/CSJ.meta
0 → 100644
View file @
9add2a8b
fileFormatVersion: 2
guid: 62d1c1fa98be64555b74d41268d96b0a
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
Assets/Base/AdSDK/AD/AD_Manager/AdManager.cs
View file @
9add2a8b
...
@@ -246,6 +246,15 @@ public class AdManager
...
@@ -246,6 +246,15 @@ public class AdManager
Debug
.
unityLogger
.
Log
(
ZXADConfig
.
ADManagerTAG
,
"Splash没有广告数据"
);
Debug
.
unityLogger
.
Log
(
ZXADConfig
.
ADManagerTAG
,
"Splash没有广告数据"
);
return
;
return
;
}
}
// 首次启动时倒序加载
if
(
PlayerPrefs
.
GetInt
(
"isFirstLoadSplashAd"
)
!=
1
)
{
adList
.
Reverse
();
PlayerPrefs
.
SetInt
(
"isFirstLoadSplashAd"
,
1
);
}
List
<
AdEntity
>
totalEntityList
=
adList
;
List
<
AdEntity
>
totalEntityList
=
adList
;
AdEntity
entity
=
totalEntityList
[
0
];
AdEntity
entity
=
totalEntityList
[
0
];
entity
.
actionName
=
"开屏"
;
entity
.
actionName
=
"开屏"
;
...
...
Assets/Game/Main/Scripts/View/HomeInfoControl.cs
View file @
9add2a8b
...
@@ -235,7 +235,7 @@ public class HomeInfoControl : MonoBehaviour, HomeContract.View
...
@@ -235,7 +235,7 @@ public class HomeInfoControl : MonoBehaviour, HomeContract.View
mPresenter
.
GetHomeInfo
();
mPresenter
.
GetHomeInfo
();
mPresenter
.
GetLandList
();
mPresenter
.
GetLandList
();
transform
.
Find
(
"Title/shiwujiangli"
).
gameObject
.
AddComponent
<
Button
>().
onClick
.
AddListener
(
DidSelectedShiwujiangli
);
transform
.
Find
(
"Title/shiwujiangli
/Image
"
).
gameObject
.
AddComponent
<
Button
>().
onClick
.
AddListener
(
DidSelectedShiwujiangli
);
}
}
private
void
refreshHomeInfo
()
private
void
refreshHomeInfo
()
{
{
...
@@ -686,6 +686,8 @@ public class HomeInfoControl : MonoBehaviour, HomeContract.View
...
@@ -686,6 +686,8 @@ public class HomeInfoControl : MonoBehaviour, HomeContract.View
{
{
AudioUtils
.
ins
.
PlayBtnAudio
();
AudioUtils
.
ins
.
PlayBtnAudio
();
EventUtils
.
OnEvent
(
"click_wodelibao"
,
"点击我的礼包"
);
if
(
RealAwardsVM
.
dataModel
!=
null
)
if
(
RealAwardsVM
.
dataModel
!=
null
)
{
{
if
(
RealAwardsVM
.
didChooseAward
)
if
(
RealAwardsVM
.
didChooseAward
)
...
...
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