Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
F
First_FKQCW
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
王雪伟
First_FKQCW
Commits
428e18e1
Commit
428e18e1
authored
May 20, 2021
by
zxhljwl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
隐藏首次显示隐私协议和用户政策弹窗
parent
5c0e1f9f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
Splash.cs
Assets/Game/Splash/Splash.cs
+7
-7
No files found.
Assets/Game/Splash/Splash.cs
View file @
428e18e1
...
...
@@ -123,16 +123,16 @@ public class Splash : MonoBehaviour
}));
Debug
.
unityLogger
.
Log
(
"kaiping1"
);
//第一次进入app 显示协议弹窗
if
(
PlayerDataControl
.
Instance
.
GetIsShowDialog
())
{
dialog
.
SetActive
(
true
);
}
else
{
//不是第一次 展示开屏
//
if (PlayerDataControl.Instance.GetIsShowDialog())
//
{
//
dialog.SetActive(true);
//
}
//
else
//
{ //不是第一次 展示开屏
Debug
.
unityLogger
.
Log
(
"kaiping2"
);
AdManager
.
Instance
.
LoadSplashAd
(
new
SplshAdListener
());
LoadCacheAd
();
}
//
}
}
public
void
OnClickUserAgreement
()
...
...
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