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
de2d16f5
Commit
de2d16f5
authored
Jun 15, 2021
by
zhangzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
实物奖励提交收货信息看广告后不飞红包
parent
c882af7d
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
7 deletions
+17
-7
AdSDK.meta
Assets/AdSDK.meta
+8
-0
AdUtils.cs
Assets/Game/Main/Scripts/Utils/AdUtils.cs
+7
-5
RAInputName.cs
Assets/Game/Main/Scripts/dialog/RealAwards/RAInputName.cs
+1
-1
RAInputPhone.cs
Assets/Game/Main/Scripts/dialog/RealAwards/RAInputPhone.cs
+1
-1
No files found.
Assets/AdSDK.meta
0 → 100644
View file @
de2d16f5
fileFormatVersion: 2
guid: 3bdf81920b9ea8e46abd100e083eefe7
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
Assets/Game/Main/Scripts/Utils/AdUtils.cs
View file @
de2d16f5
...
...
@@ -76,12 +76,14 @@ public class AdUtils
callback
(
true
);
//EventCenter.Broadcast(MyEventType.FlyVideoRedPack);
// 热启动播放的激励视频, 不增加每日存钱罐, 所以也不播放每日存钱罐的动画
if
(
actionName
==
"hot_lunch_reward"
||
actionName
==
"caomei_addProcess"
)
{
List
<
string
>
ignoreNames
=
new
List
<
string
>();
ignoreNames
.
Add
(
"hot_lunch_reward"
);
ignoreNames
.
Add
(
"caomei_addProcess"
);
ignoreNames
.
Add
(
"shiwu_tijiaoaddress_ad"
);
ignoreNames
.
Add
(
"shiwu_tijiaoname_ad"
);
ignoreNames
.
Add
(
"shiwu_tijiaophone_ad"
);
}
else
if
(!
ignoreNames
.
Contains
(
actionName
))
{
#if UNITY_IOS
...
...
Assets/Game/Main/Scripts/dialog/RealAwards/RAInputName.cs
View file @
de2d16f5
...
...
@@ -28,7 +28,7 @@ public class RAInputName : MonoBehaviour
return
;
}
AdUtils
.
PlayRewardAd
(
"shiwu_tijiao
address
_ad"
,
new
Action
<
bool
>((
cb
)
=>
AdUtils
.
PlayRewardAd
(
"shiwu_tijiao
name
_ad"
,
new
Action
<
bool
>((
cb
)
=>
{
if
(
cb
)
{
...
...
Assets/Game/Main/Scripts/dialog/RealAwards/RAInputPhone.cs
View file @
de2d16f5
...
...
@@ -28,7 +28,7 @@ public class RAInputPhone : MonoBehaviour
return
;
}
AdUtils
.
PlayRewardAd
(
"shiwu_tijiao
address
_ad"
,
new
Action
<
bool
>((
cb
)
=>
AdUtils
.
PlayRewardAd
(
"shiwu_tijiao
phone
_ad"
,
new
Action
<
bool
>((
cb
)
=>
{
if
(
cb
)
{
...
...
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