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
1
Issues
1
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
hex
ygopro2
Commits
a65e0301
Commit
a65e0301
authored
Jul 19, 2025
by
hex
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix high resolution screen area
parent
2bdbbbf3
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
32 additions
and
114 deletions
+32
-114
Assets/ArtSystem/mouseParticle.meta
Assets/ArtSystem/mouseParticle.meta
+0
-9
Assets/Plugins/System.Data.dll.meta
Assets/Plugins/System.Data.dll.meta
+18
-22
Assets/Plugins/System.Drawing.dll
Assets/Plugins/System.Drawing.dll
+0
-0
Assets/Plugins/System.Drawing.dll.meta
Assets/Plugins/System.Drawing.dll.meta
+0
-34
Assets/SibylSystem/CardDescription/CardDescription.cs
Assets/SibylSystem/CardDescription/CardDescription.cs
+5
-2
Assets/SibylSystem/Servant.cs
Assets/SibylSystem/Servant.cs
+2
-2
Assets/SibylSystem/deckManager/DeckManager.cs
Assets/SibylSystem/deckManager/DeckManager.cs
+7
-7
Assets/YGOSharp/Card.cs
Assets/YGOSharp/Card.cs
+0
-38
No files found.
Assets/ArtSystem/mouseParticle.meta
deleted
100644 → 0
View file @
2bdbbbf3
fileFormatVersion: 2
guid: 4766ce01712076c4c8cb7899fac116b0
folderAsset: yes
timeCreated: 1475924533
licenseType: Pro
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
Assets/Plugins/System.Data.dll.meta
View file @
a65e0301
fileFormatVersion: 2
guid: f508b35d2051b414d835796de8dadae5
timeCreated: 1480605667
licenseType: Pro
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
isPreloaded: 0
isOverridable: 0
platformData:
data:
first:
Any:
second:
enabled: 1
settings: {}
data:
first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
data:
first:
Windows Store Apps: WindowsStoreApps
second:
enabled: 0
settings:
CPU: AnyCPU
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
- first:
Windows Store Apps: WindowsStoreApps
second:
enabled: 0
settings:
CPU: AnyCPU
userData:
assetBundleName:
assetBundleVariant:
Assets/Plugins/System.Drawing.dll
deleted
100644 → 0
View file @
2bdbbbf3
File deleted
Assets/Plugins/System.Drawing.dll.meta
deleted
100644 → 0
View file @
2bdbbbf3
fileFormatVersion: 2
guid: f53581fb80be96f46b0cb1a267158562
timeCreated: 1480605668
licenseType: Pro
PluginImporter:
serializedVersion: 2
iconMap: {}
executionOrder: {}
isPreloaded: 0
isOverridable: 0
platformData:
data:
first:
Any:
second:
enabled: 1
settings: {}
data:
first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
data:
first:
Windows Store Apps: WindowsStoreApps
second:
enabled: 0
settings:
CPU: AnyCPU
userData:
assetBundleName:
assetBundleVariant:
Assets/SibylSystem/CardDescription/CardDescription.cs
View file @
a65e0301
...
...
@@ -103,7 +103,6 @@ public class CardDescription : Servant
if
(
gameObject
!=
null
)
{
underSprite
.
height
=
Screen
.
height
+
4
;
// 计算目标世界坐标
Vector3
hidePosition
=
Program
.
camera_main_2d
.
ScreenToWorldPoint
(
new
Vector3
(-
underSprite
.
width
-
20
,
Screen
.
height
/
2
,
0
)
...
...
@@ -125,7 +124,11 @@ public class CardDescription : Servant
// 暴力适配 ios 刘海屏
if
(
Screen
.
safeArea
.
x
>
0
)
{
offset
=
66
;
if
(
Screen
.
width
>
1920
)
{
offset
=
80
;
}
else
{
offset
=
66
;
}
}
// 计算目标世界坐标
...
...
Assets/SibylSystem/Servant.cs
View file @
a65e0301
...
...
@@ -129,7 +129,7 @@ public class Servant
{
if
(
toolBar
!=
null
)
{
Vector3
vectorOfHidedBar_Screen
=
new
Vector3
(
Screen
.
width
-
RightToScreen
,
-
1
00
,
0
);
Vector3
vectorOfHidedBar_Screen
=
new
Vector3
(
Screen
.
width
-
RightToScreen
,
-
2
00
,
0
);
Vector3
targetWorldPosition
=
Program
.
camera_back_ground_2d
.
ScreenToWorldPoint
(
vectorOfHidedBar_Screen
);
toolBar
.
transform
.
DOMove
(
targetWorldPosition
,
0.6f
);
...
...
@@ -292,7 +292,7 @@ public class Servant
toolBar
=
create
(
mod
,
Program
.
camera_main_2d
.
ScreenToWorldPoint
(
new
Vector3
(
Screen
.
width
-
RightToScreen
,
-
1
00
,
0
)
new
Vector3
(
Screen
.
width
-
RightToScreen
,
-
2
00
,
0
)
),
new
Vector3
(
0
,
0
,
0
),
false
,
...
...
Assets/SibylSystem/deckManager/DeckManager.cs
View file @
a65e0301
...
...
@@ -189,9 +189,9 @@ public class DeckManager : ServantWithCardDescription
base
.
applyHideArrangement
();
Program
.
cameraFacing
=
false
;
Vector3
targetPos
=
Program
.
camera_main_2d
.
ScreenToWorldPoint
(
new
Vector3
(
Screen
.
width
+
600
,
Screen
.
height
/
2
,
600
)
);
gameObjectSearch
.
transform
.
DOMove
(
targetPos
,
0.6f
);
new
Vector3
(
Screen
.
width
+
600
,
Screen
.
height
/
2
,
600
)
);
gameObjectSearch
.
transform
.
DOMove
(
targetPos
,
0.6f
);
refreshDetail
();
}
...
...
@@ -201,10 +201,10 @@ gameObjectSearch.transform.DOMove(targetPos, 0.6f);
Program
.
cameraFacing
=
true
;
UITexture
tex
=
UIHelper
.
getByName
<
UITexture
>(
gameObjectSearch
,
"under_"
);
tex
.
height
=
Screen
.
height
;
Vector3
targetPos
=
Program
.
camera_main_2d
.
ScreenToWorldPoint
(
new
Vector3
(
Screen
.
width
-
MAIN_PANEL_MARGIN_RIGHT
,
Screen
.
height
/
2
,
0
)
);
gameObjectSearch
.
transform
.
DOMove
(
targetPos
,
0.6f
);
Vector3
targetPos
=
Program
.
camera_main_2d
.
ScreenToWorldPoint
(
new
Vector3
(
Screen
.
width
-
MAIN_PANEL_MARGIN_RIGHT
,
Screen
.
height
/
2
,
0
)
);
gameObjectSearch
.
transform
.
DOMove
(
targetPos
,
0.6f
);
refreshDetail
();
}
...
...
Assets/YGOSharp/Card.cs
View file @
a65e0301
...
...
@@ -154,44 +154,6 @@ namespace YGOSharp
this
.
Name
=
YGOSharp
.
CardsManager
.
nullName
;
this
.
Desc
=
YGOSharp
.
CardsManager
.
nullString
;
}
}
//public class cardInPack
//{
// public int Id = 0;
// public string packShortNam = "";
// public string packFullName = "";
// public string reality = "";
// public int year = 0;
// public int month = 0;
// public int day = 0;
// internal cardInPack()
// {
// }
// internal cardInPack(IDataRecord reader)
// {
// try
// {
// Id = (int)reader.GetInt64(0);
// packShortNam = reader.GetString(1);
// packFullName = reader.GetString(2);
// reality = reader.GetString(3);
// string temp = reader.GetString(4);
// string[] mats = temp.Split("/");
// if (mats.Length == 3)
// {
// month = int.Parse(mats[0]);
// day = int.Parse(mats[1]);
// year = int.Parse(mats[2]);
// }
// }
// catch (Exception)
// {
// }
// }
//}
}
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