Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOProUnity_V2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
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
MyCard
YGOProUnity_V2
Commits
4de48b10
Commit
4de48b10
authored
Sep 05, 2021
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
revert to 2021.1, fix
parent
88d14669
Pipeline
#5290
passed with stages
in 10 minutes and 39 seconds
Changes
10
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
184 additions
and
193 deletions
+184
-193
.gitlab-ci.yml
.gitlab-ci.yml
+1
-1
Assets/ArtSystem/deckManager/MonoCardInDeckManager.cs
Assets/ArtSystem/deckManager/MonoCardInDeckManager.cs
+1
-1
Assets/NGUI/Scripts/Editor/UITexturePacker.cs
Assets/NGUI/Scripts/Editor/UITexturePacker.cs
+1
-1
Assets/SibylSystem/MonoHelpers/UIHelper.cs
Assets/SibylSystem/MonoHelpers/UIHelper.cs
+7
-1
Assets/SibylSystem/Ocgcore/OCGobjects/gameField.cs
Assets/SibylSystem/Ocgcore/OCGobjects/gameField.cs
+1
-3
Assets/SibylSystem/ResourceManagers/GameTextureManager.cs
Assets/SibylSystem/ResourceManagers/GameTextureManager.cs
+3
-3
Packages/manifest.json
Packages/manifest.json
+1
-1
Packages/packages-lock.json
Packages/packages-lock.json
+1
-1
ProjectSettings/ProjectSettings.asset
ProjectSettings/ProjectSettings.asset
+166
-179
ProjectSettings/ProjectVersion.txt
ProjectSettings/ProjectVersion.txt
+2
-2
No files found.
.gitlab-ci.yml
View file @
4de48b10
...
...
@@ -9,7 +9,7 @@ stages:
variables
:
BUILD_NAME
:
YGOPro2
UNITY_ACTIVATION_FILE
:
./unity3d.alf
UNITY_VERSION
:
"
2021.
2.0b9
"
UNITY_VERSION
:
"
2021.
1.18f1
"
IMAGE
:
unityci/editor
# https://hub.docker.com/r/unityci/editor
IMAGE_VERSION
:
"
0.15"
# https://github.com/game-ci/docker/releases
UNITY_DIR
:
$CI_PROJECT_DIR
# this needs to be an absolute path. Defaults to the root of your tree.
...
...
Assets/ArtSystem/deckManager/MonoCardInDeckManager.cs
View file @
4de48b10
...
...
@@ -7,7 +7,7 @@ public class MonoCardInDeckManager : MonoBehaviour
public
bool
dying
;
private
bool
bool_physicalON
;
private
Card
_cardData
=
new
();
private
Card
_cardData
=
new
Card
();
private
bool
died
;
private
bool
isDraging
;
...
...
Assets/NGUI/Scripts/Editor/UITexturePacker.cs
View file @
4de48b10
...
...
@@ -107,7 +107,7 @@ public class UITexturePacker
storage
[
i
].
paddingY
=
(
yPadding
!=
0
);
}
texture
.
Re
initial
ize
(
width
,
height
);
texture
.
Re
s
ize
(
width
,
height
);
texture
.
SetPixels
(
new
Color
[
width
*
height
]);
// The returned rects
...
...
Assets/SibylSystem/MonoHelpers/UIHelper.cs
View file @
4de48b10
...
...
@@ -742,7 +742,13 @@ public static class UIHelper
public
static
async
Task
<
Texture2D
>
GetTexture2DAsync
(
string
path
)
{
var
pic
=
new
Texture2D
(
0
,
0
);
pic
.
LoadImage
(
await
File
.
ReadAllBytesAsync
(
path
));
// Unity < 2021.2
var
stream
=
new
FileStream
(
path
,
FileMode
.
Open
,
FileAccess
.
Read
,
FileShare
.
Read
,
4096
,
true
);
var
data
=
new
byte
[
stream
.
Length
];
await
stream
.
ReadAsync
(
data
,
0
,
(
int
)
stream
.
Length
);
pic
.
LoadImage
(
data
);
// Unity >= 2021.2
// pic.LoadImage(await File.ReadAllBytesAsync(path));
return
pic
;
}
...
...
Assets/SibylSystem/Ocgcore/OCGobjects/gameField.cs
View file @
4de48b10
...
...
@@ -573,9 +573,7 @@ public class GameField : OCGobject
if
(
Ocgcore
.
inSkiping
)
return
;
if
(
only
)
destroy
(
big_string
);
big_string
=
create
(
Program
.
I
().
New_phase
,
Program
.
I
().
ocgcore
.
centre
(),
Vector3
.
zero
,
false
,
Program
.
I
().
ui_main_2d
,
true
,
new
Vector3
(
Screen
.
height
/
1000f
*
Program
.
fieldSize
,
Screen
.
height
/
1000f
*
Program
.
fieldSize
,
Screen
.
height
/
1000f
*
Program
.
fieldSize
));
Program
.
I
().
ui_main_2d
,
true
,
Utils
.
UIHeight
()
/
1000f
*
Program
.
fieldSize
*
Vector3
.
one
);
big_string
.
GetComponentInChildren
<
UITexture
>().
mainTexture
=
tex
;
Program
.
I
().
ocgcore
.
Sleep
(
40
);
big_string
.
AddComponent
<
animation_screen_lock2
>();
...
...
Assets/SibylSystem/ResourceManagers/GameTextureManager.cs
View file @
4de48b10
...
...
@@ -75,9 +75,9 @@ public class GameTextureManager
loadedCloseUp
.
Clear
();
}
private
static
readonly
Dictionary
<
int
,
Task
<
Texture2D
>>
loadedPicture
=
new
();
private
static
readonly
Dictionary
<
int
,
Task
<
Texture2D
>>
loadedCloseUp
=
new
();
private
static
readonly
Dictionary
<
string
,
Texture2D
>
loadedUI
=
new
();
private
static
readonly
Dictionary
<
int
,
Task
<
Texture2D
>>
loadedPicture
=
new
Dictionary
<
int
,
Task
<
Texture2D
>>
();
private
static
readonly
Dictionary
<
int
,
Task
<
Texture2D
>>
loadedCloseUp
=
new
Dictionary
<
int
,
Task
<
Texture2D
>>
();
private
static
readonly
Dictionary
<
string
,
Texture2D
>
loadedUI
=
new
Dictionary
<
string
,
Texture2D
>
();
public
static
Task
<
Texture2D
>
GetCardPicture
(
int
code
)
{
...
...
Packages/manifest.json
View file @
4de48b10
...
...
@@ -4,7 +4,7 @@
"com.unity.ide.visualstudio"
:
"2.0.11"
,
"com.unity.ide.vscode"
:
"1.2.3"
,
"com.unity.test-framework"
:
"1.1.27"
,
"com.unity.timeline"
:
"1.
6.1
"
,
"com.unity.timeline"
:
"1.
5.6
"
,
"com.unity.ugui"
:
"1.0.0"
,
"com.unity.modules.ai"
:
"1.0.0"
,
"com.unity.modules.androidjni"
:
"1.0.0"
,
...
...
Packages/packages-lock.json
View file @
4de48b10
...
...
@@ -44,7 +44,7 @@
"url"
:
"https://packages.unity.com"
},
"com.unity.timeline"
:
{
"version"
:
"1.
6.1
"
,
"version"
:
"1.
5.6
"
,
"depth"
:
0
,
"source"
:
"registry"
,
"dependencies"
:
{
...
...
ProjectSettings/ProjectSettings.asset
View file @
4de48b10
This diff is collapsed.
Click to expand it.
ProjectSettings/ProjectVersion.txt
View file @
4de48b10
m_EditorVersion: 2021.
2.0b9
m_EditorVersionWithRevision: 2021.
2.0b9 (162b5e238388
)
m_EditorVersion: 2021.
1.18f1
m_EditorVersionWithRevision: 2021.
1.18f1 (25bdc3efbc2d
)
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