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
List
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
mercury233
ygopro2
Commits
2f8c55e6
Commit
2f8c55e6
authored
Mar 27, 2019
by
Unicorn369
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
6781d4e0
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
3 deletions
+8
-3
Assets/SibylSystem/Menu/Menu.cs
Assets/SibylSystem/Menu/Menu.cs
+1
-1
Assets/SibylSystem/Program.cs
Assets/SibylSystem/Program.cs
+1
-1
Assets/SibylSystem/ResourceManagers/GameTextureManager.cs
Assets/SibylSystem/ResourceManagers/GameTextureManager.cs
+5
-0
ProjectSettings/ProjectSettings.asset
ProjectSettings/ProjectSettings.asset
+1
-1
No files found.
Assets/SibylSystem/Menu/Menu.cs
View file @
2f8c55e6
...
...
@@ -149,7 +149,7 @@ public class Menu : WindowServantSP
jo
.
Call
(
"doExtractZipFile"
,
"closeup_version1.1.zip"
,
Program
.
ANDROID_GAME_PATH
);
}
else
if
(
File
.
Exists
(
"updates/closeup_version1.0.txt"
)){
//如果有则下载更新包
jo
.
Call
(
"doDownloadZipFile"
,
"https://github.com/Unicorn369/pro2_android_closeup/releases/download/1.0/up_closeup_version1.1.zip"
);
}
else
{
//否则下载并解压,锁定目录:
/ygopro2
}
else
{
//否则下载并解压,锁定目录:
ANDROID_GAME_PATH
jo
.
Call
(
"doDownloadZipFile"
,
"https://github.com/Unicorn369/pro2_android_closeup/releases/download/1.0/closeup_version1.1.zip"
);
}
}
else
{
...
...
Assets/SibylSystem/Program.cs
View file @
2f8c55e6
...
...
@@ -274,7 +274,7 @@ public class Program : MonoBehaviour
public
static
float
verticleScale
=
5f
;
//YGOMobile Paths (https://github.com/Unicorn369/YGOPro2_Droid)
//YGOMobile Paths (https://github.com/Unicorn369/YGOPro2_Droid
/tree/Android
)
public
static
string
ANDROID_GAME_PATH
=
"/storage/emulated/0/ygopro2/"
;
#if UNITY_EDITOR || UNITY_STANDALONE_WIN //编译器、Windows
...
...
Assets/SibylSystem/ResourceManagers/GameTextureManager.cs
View file @
2f8c55e6
...
...
@@ -619,6 +619,11 @@ public class GameTextureManager
file
.
Read
(
data
,
0
,
(
int
)
file
.
Length
);
}
pic
.
data
=
data
;
if
(!
loadedList
.
ContainsKey
(
hashPic
(
pic
.
code
,
pic
.
type
)))
{
loadedList
.
Add
(
hashPic
(
pic
.
code
,
pic
.
type
),
pic
);
}
}
}
else
...
...
ProjectSettings/ProjectSettings.asset
View file @
2f8c55e6
...
...
@@ -123,7 +123,7 @@ PlayerSettings:
16:10:
1
16:9:
1
Others
:
1
bundleVersion
:
1.034.8 (Test 2.2)
bundleVersion
:
1.034.8 (Test 2.2
.1
)
preloadedAssets
:
[]
metroInputSource
:
0
m_HolographicPauseOnTrackingLoss
:
1
...
...
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