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
33b610c0
Commit
33b610c0
authored
Jul 19, 2021
by
zhangzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改id
parent
8e0be40a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
5 deletions
+9
-5
GDTFeedAdUtil.cs
Assets/Base/AdSDK/AD/GDT/GDTFeedAdUtil.cs
+2
-0
GDTInterstitialAdUtil.cs
Assets/Base/AdSDK/AD/GDT/GDTInterstitialAdUtil.cs
+2
-0
Constant.cs
Assets/Base/UnityTool/Constant.cs
+4
-4
ProjectSettings.asset
ProjectSettings/ProjectSettings.asset
+1
-1
No files found.
Assets/Base/AdSDK/AD/GDT/GDTFeedAdUtil.cs
View file @
33b610c0
...
@@ -42,7 +42,9 @@ public class GDTFeedAdUtil
...
@@ -42,7 +42,9 @@ public class GDTFeedAdUtil
NativeExpressAd
ad
=
new
NativeExpressAd
(
entity
.
codeId
,
GetAdSize
());
NativeExpressAd
ad
=
new
NativeExpressAd
(
entity
.
codeId
,
GetAdSize
());
nativeExpressAd
=
ad
;
nativeExpressAd
=
ad
;
#if UNITY_IOS
ad
.
SetEnableDefaultAudioSessionSetting
(
false
);
ad
.
SetEnableDefaultAudioSessionSetting
(
false
);
#endif
ad
.
SetListener
(
new
FeedAdListener
(
entity
,
callback
));
ad
.
SetListener
(
new
FeedAdListener
(
entity
,
callback
));
ad
.
LoadAd
(
1
);
ad
.
LoadAd
(
1
);
}
}
...
...
Assets/Base/AdSDK/AD/GDT/GDTInterstitialAdUtil.cs
View file @
33b610c0
...
@@ -39,7 +39,9 @@ public class GDTInterstitialAdUtil
...
@@ -39,7 +39,9 @@ public class GDTInterstitialAdUtil
//string posId = Constants.intersititialNoVideoPosId;//不带视频的插屏广告测试Id
//string posId = Constants.intersititialNoVideoPosId;//不带视频的插屏广告测试Id
UnifiedInterstitialAd
ad
=
new
UnifiedInterstitialAd
(
entity
.
codeId
);
UnifiedInterstitialAd
ad
=
new
UnifiedInterstitialAd
(
entity
.
codeId
);
#if UNITY_IOS
ad
.
SetEnableDefaultAudioSessionSetting
(
false
);
ad
.
SetEnableDefaultAudioSessionSetting
(
false
);
#endif
ad
.
SetListener
(
new
UnifiedInterstitialAdListener
(
entity
,
ad
,
null
,
callback
));
ad
.
SetListener
(
new
UnifiedInterstitialAdListener
(
entity
,
ad
,
null
,
callback
));
ad
.
LoadAd
();
ad
.
LoadAd
();
}
}
...
...
Assets/Base/UnityTool/Constant.cs
View file @
33b610c0
...
@@ -19,8 +19,8 @@ public class Constant
...
@@ -19,8 +19,8 @@ public class Constant
/// </summary>
/// </summary>
public
bool
IsTestNet
{
get
;
set
;
}
public
bool
IsTestNet
{
get
;
set
;
}
//微信key
//微信key
public
string
WX_APP_ID
=
"wx
10f8dcecdcf26ab7
"
;
public
string
WX_APP_ID
=
"wx
eb614acc314efbfb
"
;
public
string
WX_APP_Key
=
"
bfa522c1b6be52727795b726b788181a
"
;
public
string
WX_APP_Key
=
"
89abbb00107cc6255198cf1285181b4e
"
;
public
string
universalLink
=
"https://feedapi.zhangxineducation.com/simulator/"
;
public
string
universalLink
=
"https://feedapi.zhangxineducation.com/simulator/"
;
// 友盟key ios
// 友盟key ios
...
@@ -31,7 +31,7 @@ public class Constant
...
@@ -31,7 +31,7 @@ public class Constant
#if UNITY_IOS
#if UNITY_IOS
return
"609a589b53b6726499f8543d"
;
return
"609a589b53b6726499f8543d"
;
#else
#else
return
"
608669265844f15425eb7953
"
;
return
"
安卓不可用
"
;
#endif
#endif
}
}
...
@@ -47,7 +47,7 @@ public class Constant
...
@@ -47,7 +47,7 @@ public class Constant
#if UNITY_IOS
#if UNITY_IOS
return
"399d87a2b8c8d900"
;
return
"399d87a2b8c8d900"
;
#else
#else
return
"
892467fd69100919
"
;
return
"
c4f628fe0c45566f
"
;
#endif
#endif
}
}
}
}
...
...
ProjectSettings/ProjectSettings.asset
View file @
33b610c0
...
@@ -168,7 +168,7 @@ PlayerSettings:
...
@@ -168,7 +168,7 @@ PlayerSettings:
androidSupportedAspectRatio
:
1
androidSupportedAspectRatio
:
1
androidMaxAspectRatio
:
2.1
androidMaxAspectRatio
:
2.1
applicationIdentifier
:
applicationIdentifier
:
Android
:
com.ym.
cscmnq
Android
:
com.ym.
wdcy
iPhone
:
com.ym.simulator
iPhone
:
com.ym.simulator
buildNumber
:
buildNumber
:
iPhone
:
0
iPhone
:
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