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
3dd97398
Commit
3dd97398
authored
Jul 03, 2021
by
zhangzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
广告默认id
parent
10e7907a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
Splash.cs
Assets/Scripts/Splash/Splash.cs
+8
-0
No files found.
Assets/Scripts/Splash/Splash.cs
View file @
3dd97398
...
@@ -159,11 +159,19 @@ public class Splash : MonoBehaviour
...
@@ -159,11 +159,19 @@ public class Splash : MonoBehaviour
public
void
initAD
()
public
void
initAD
()
{
{
EventUtils
.
OnEvent
(
"init_AD"
);
EventUtils
.
OnEvent
(
"init_AD"
);
#if UNITY_ANDROID
ZXADConfig
.
Instance
.
CSJ_AD_APP_ID
=
"5166523"
;
ZXADConfig
.
Instance
.
GDT_AD_APP_ID
=
"1111797082"
;
ZXADConfig
.
Instance
.
KS_AD_APP_ID
=
null
;
ZXADConfig
.
Instance
.
YLB_AD_APP_ID
=
"10000632"
;
ZXADConfig
.
Instance
.
HC_AD_APP_ID
=
null
;
#else
ZXADConfig
.
Instance
.
CSJ_AD_APP_ID
=
"5171386"
;
ZXADConfig
.
Instance
.
CSJ_AD_APP_ID
=
"5171386"
;
ZXADConfig
.
Instance
.
GDT_AD_APP_ID
=
"1111776191"
;
ZXADConfig
.
Instance
.
GDT_AD_APP_ID
=
"1111776191"
;
ZXADConfig
.
Instance
.
KS_AD_APP_ID
=
null
;
ZXADConfig
.
Instance
.
KS_AD_APP_ID
=
null
;
ZXADConfig
.
Instance
.
YLB_AD_APP_ID
=
null
;
ZXADConfig
.
Instance
.
YLB_AD_APP_ID
=
null
;
ZXADConfig
.
Instance
.
HC_AD_APP_ID
=
null
;
ZXADConfig
.
Instance
.
HC_AD_APP_ID
=
null
;
#endif
AdManager
.
Instance
.
InitAd
(
new
Action
<
bool
>((
cb
)
=>
AdManager
.
Instance
.
InitAd
(
new
Action
<
bool
>((
cb
)
=>
{
{
StartCoroutine
(
loadSplash
());
StartCoroutine
(
loadSplash
());
...
...
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