Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
ygopro2
Commits
cb329106
Commit
cb329106
authored
Apr 18, 2019
by
Unicorn369
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'Test' of
https://github.com/Unicorn369/YGOPro2_Droid
into Android
parents
8da9ba82
d6252c97
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
225 additions
and
95 deletions
+225
-95
Assets/ArtSystem/WaterBlur.shader
Assets/ArtSystem/WaterBlur.shader
+198
-73
Assets/ArtSystem/deckManager/new_search_remaster.prefab
Assets/ArtSystem/deckManager/new_search_remaster.prefab
+15
-15
Assets/SibylSystem/Menu/Menu.cs
Assets/SibylSystem/Menu/Menu.cs
+12
-7
No files found.
Assets/ArtSystem/WaterBlur.shader
View file @
cb329106
This diff is collapsed.
Click to expand it.
Assets/ArtSystem/deckManager/new_search_remaster.prefab
View file @
cb329106
...
@@ -345,7 +345,7 @@ Transform:
...
@@ -345,7 +345,7 @@ Transform:
m_PrefabInternal
:
{
fileID
:
100100000
}
m_PrefabInternal
:
{
fileID
:
100100000
}
m_GameObject
:
{
fileID
:
129162
}
m_GameObject
:
{
fileID
:
129162
}
m_LocalRotation
:
{
x
:
0
,
y
:
0
,
z
:
0
,
w
:
1
}
m_LocalRotation
:
{
x
:
0
,
y
:
0
,
z
:
0
,
w
:
1
}
m_LocalPosition
:
{
x
:
-64
,
y
:
98
,
z
:
0
}
m_LocalPosition
:
{
x
:
48
,
y
:
98
,
z
:
0
}
m_LocalScale
:
{
x
:
1
,
y
:
1
,
z
:
1
}
m_LocalScale
:
{
x
:
1
,
y
:
1
,
z
:
1
}
m_Children
:
m_Children
:
-
{
fileID
:
459346
}
-
{
fileID
:
459346
}
...
@@ -433,7 +433,7 @@ Transform:
...
@@ -433,7 +433,7 @@ Transform:
m_PrefabInternal
:
{
fileID
:
100100000
}
m_PrefabInternal
:
{
fileID
:
100100000
}
m_GameObject
:
{
fileID
:
169090
}
m_GameObject
:
{
fileID
:
169090
}
m_LocalRotation
:
{
x
:
0
,
y
:
0
,
z
:
0
,
w
:
1
}
m_LocalRotation
:
{
x
:
0
,
y
:
0
,
z
:
0
,
w
:
1
}
m_LocalPosition
:
{
x
:
47
,
y
:
98
,
z
:
0
}
m_LocalPosition
:
{
x
:
-64
,
y
:
98
,
z
:
0
}
m_LocalScale
:
{
x
:
1
,
y
:
1
,
z
:
1
}
m_LocalScale
:
{
x
:
1
,
y
:
1
,
z
:
1
}
m_Children
:
m_Children
:
-
{
fileID
:
411446
}
-
{
fileID
:
411446
}
...
@@ -525,7 +525,7 @@ BoxCollider:
...
@@ -525,7 +525,7 @@ BoxCollider:
m_IsTrigger
:
1
m_IsTrigger
:
1
m_Enabled
:
1
m_Enabled
:
1
serializedVersion
:
2
serializedVersion
:
2
m_Size
:
{
x
:
9
4
,
y
:
36
,
z
:
0
}
m_Size
:
{
x
:
9
5
,
y
:
37
,
z
:
0
}
m_Center
:
{
x
:
0
,
y
:
0
,
z
:
0
}
m_Center
:
{
x
:
0
,
y
:
0
,
z
:
0
}
---
!u!111
&11108840
---
!u!111
&11108840
Animation
:
Animation
:
...
@@ -717,7 +717,7 @@ MonoBehaviour:
...
@@ -717,7 +717,7 @@ MonoBehaviour:
anchorOffset
:
0
anchorOffset
:
0
softBorderPadding
:
1
softBorderPadding
:
1
renderQueue
:
0
renderQueue
:
0
startingRenderQueue
:
300
5
startingRenderQueue
:
300
4
mClipTexture
:
{
fileID
:
0
}
mClipTexture
:
{
fileID
:
0
}
mAlpha
:
1
mAlpha
:
1
mClipping
:
4
mClipping
:
4
...
@@ -781,11 +781,11 @@ MonoBehaviour:
...
@@ -781,11 +781,11 @@ MonoBehaviour:
leftAnchor
:
leftAnchor
:
target
:
{
fileID
:
418574
}
target
:
{
fileID
:
418574
}
relative
:
1
relative
:
1
absolute
:
-
113
absolute
:
-
224
rightAnchor
:
rightAnchor
:
target
:
{
fileID
:
418574
}
target
:
{
fileID
:
418574
}
relative
:
1
relative
:
1
absolute
:
-19
absolute
:
-1
2
9
bottomAnchor
:
bottomAnchor
:
target
:
{
fileID
:
418574
}
target
:
{
fileID
:
418574
}
relative
:
0
relative
:
0
...
@@ -793,17 +793,17 @@ MonoBehaviour:
...
@@ -793,17 +793,17 @@ MonoBehaviour:
topAnchor
:
topAnchor
:
target
:
{
fileID
:
418574
}
target
:
{
fileID
:
418574
}
relative
:
1
relative
:
1
absolute
:
-3
1
absolute
:
-3
0
updateAnchors
:
1
updateAnchors
:
1
mColor
:
{
r
:
1
,
g
:
1
,
b
:
1
,
a
:
1
}
mColor
:
{
r
:
1
,
g
:
1
,
b
:
1
,
a
:
1
}
mPivot
:
4
mPivot
:
4
mWidth
:
9
4
mWidth
:
9
5
mHeight
:
3
6
mHeight
:
3
7
mDepth
:
0
mDepth
:
0
autoResizeBoxCollider
:
1
autoResizeBoxCollider
:
1
hideIfOffScreen
:
0
hideIfOffScreen
:
0
keepAspectRatio
:
0
keepAspectRatio
:
0
aspectRatio
:
2.
6111112
aspectRatio
:
2.
5675676
---
!u!114
&11438792
---
!u!114
&11438792
MonoBehaviour
:
MonoBehaviour
:
m_ObjectHideFlags
:
1
m_ObjectHideFlags
:
1
...
@@ -1151,11 +1151,11 @@ MonoBehaviour:
...
@@ -1151,11 +1151,11 @@ MonoBehaviour:
leftAnchor
:
leftAnchor
:
target
:
{
fileID
:
418574
}
target
:
{
fileID
:
418574
}
relative
:
1
relative
:
1
absolute
:
-
224
absolute
:
-
113
rightAnchor
:
rightAnchor
:
target
:
{
fileID
:
418574
}
target
:
{
fileID
:
418574
}
relative
:
1
relative
:
1
absolute
:
-1
29
absolute
:
-1
8
bottomAnchor
:
bottomAnchor
:
target
:
{
fileID
:
418574
}
target
:
{
fileID
:
418574
}
relative
:
0
relative
:
0
...
@@ -1347,8 +1347,8 @@ MonoBehaviour:
...
@@ -1347,8 +1347,8 @@ MonoBehaviour:
updateAnchors
:
1
updateAnchors
:
1
mColor
:
{
r
:
0.98823535
,
g
:
0.98823535
,
b
:
0.98823535
,
a
:
0.78431374
}
mColor
:
{
r
:
0.98823535
,
g
:
0.98823535
,
b
:
0.98823535
,
a
:
0.78431374
}
mPivot
:
4
mPivot
:
4
mWidth
:
4
5
mWidth
:
4
0
mHeight
:
4
5
mHeight
:
4
0
mDepth
:
0
mDepth
:
0
autoResizeBoxCollider
:
0
autoResizeBoxCollider
:
0
hideIfOffScreen
:
0
hideIfOffScreen
:
0
...
@@ -1412,7 +1412,7 @@ MonoBehaviour:
...
@@ -1412,7 +1412,7 @@ MonoBehaviour:
anchorOffset
:
0
anchorOffset
:
0
softBorderPadding
:
1
softBorderPadding
:
1
renderQueue
:
0
renderQueue
:
0
startingRenderQueue
:
300
5
startingRenderQueue
:
300
4
mClipTexture
:
{
fileID
:
0
}
mClipTexture
:
{
fileID
:
0
}
mAlpha
:
1
mAlpha
:
1
mClipping
:
3
mClipping
:
3
...
...
Assets/SibylSystem/Menu/Menu.cs
View file @
cb329106
...
@@ -95,7 +95,11 @@ public class Menu : WindowServantSP
...
@@ -95,7 +95,11 @@ public class Menu : WindowServantSP
Program
.
I
().
quit
();
Program
.
I
().
quit
();
Program
.
Running
=
false
;
Program
.
Running
=
false
;
TcpHelper
.
SaveRecord
();
TcpHelper
.
SaveRecord
();
#if !UNITY_EDITOR || UNITY_ANDROID // IL2CPP 使用此方法才能退出
Application
.
Quit
();
#elif
Process
.
GetCurrentProcess
().
Kill
();
Process
.
GetCurrentProcess
().
Kill
();
#endif
}
}
void
onClickOnline
()
void
onClickOnline
()
...
@@ -144,16 +148,17 @@ public class Menu : WindowServantSP
...
@@ -144,16 +148,17 @@ public class Menu : WindowServantSP
Application
.
OpenURL
(
"https://github.com/Unicorn369/pro2_android_closeup/releases/tag/1.0"
);
Application
.
OpenURL
(
"https://github.com/Unicorn369/pro2_android_closeup/releases/tag/1.0"
);
#elif UNITY_ANDROID //Android
#elif UNITY_ANDROID //Android
AndroidJavaObject
jo
=
new
AndroidJavaObject
(
"cn.unicorn369.library.API"
);
AndroidJavaObject
jo
=
new
AndroidJavaObject
(
"cn.unicorn369.library.API"
);
if
(!
File
.
Exists
(
"updates/closeup_version1.
2
.txt"
))
{
//用于检查更新
if
(!
File
.
Exists
(
"updates/closeup_version1.
3
.txt"
))
{
//用于检查更新
if
(
File
.
Exists
(
"closeup_version1.
2
.zip"
))
{
//如果有则直接解压
if
(
File
.
Exists
(
"closeup_version1.
3
.zip"
))
{
//如果有则直接解压
jo
.
Call
(
"doExtractZipFile"
,
"closeup_version1.
2
.zip"
,
Program
.
ANDROID_GAME_PATH
);
jo
.
Call
(
"doExtractZipFile"
,
"closeup_version1.
3
.zip"
,
Program
.
ANDROID_GAME_PATH
);
}
else
if
(
File
.
Exists
(
"updates/closeup_version1.
1
.txt"
)){
//如果有则下载更新包
}
else
if
(
File
.
Exists
(
"updates/closeup_version1.
2
.txt"
)){
//如果有则下载更新包
jo
.
Call
(
"doDownloadZipFile"
,
"https://github.com/Unicorn369/pro2_android_closeup/releases/download/1.0/up_closeup_version1.
2
.zip"
);
jo
.
Call
(
"doDownloadZipFile"
,
"https://github.com/Unicorn369/pro2_android_closeup/releases/download/1.0/up_closeup_version1.
3
.zip"
);
}
else
{
//否则下载并解压,锁定目录:ANDROID_GAME_PATH
}
else
{
//否则下载并解压,锁定目录:ANDROID_GAME_PATH
jo
.
Call
(
"doDownloadZipFile"
,
"https://github.com/Unicorn369/pro2_android_closeup/releases/download/1.0/closeup_version1.
2
.zip"
);
jo
.
Call
(
"doDownloadZipFile"
,
"https://github.com/Unicorn369/pro2_android_closeup/releases/download/1.0/closeup_version1.
3
.zip"
);
}
}
}
else
{
}
else
{
jo
.
Call
(
"showToast"
,
"已下载,无需再次下载!"
);
jo
.
Call
(
"showToast"
,
"已是最新,无需再次下载!"
);
Program
.
PrintToChat
(
InterString
.
Get
(
"已是最新,无需再次下载!"
));
}
}
#endif
#endif
}
}
...
...
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