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
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
赤子奈落
YGOProUnity_V2
Commits
37afb8e8
Commit
37afb8e8
authored
Aug 31, 2021
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix high resolution
parent
b9dc0fc8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Assets/SibylSystem/BackGroundPic/BackGroundPic.cs
Assets/SibylSystem/BackGroundPic/BackGroundPic.cs
+1
-1
No files found.
Assets/SibylSystem/BackGroundPic/BackGroundPic.cs
View file @
37afb8e8
...
...
@@ -23,7 +23,7 @@ public class BackGroundPic : Servant
public
override
void
applyShowArrangement
()
{
UIRoot
root
=
Program
.
ui_back_ground_2d
.
GetComponent
<
UIRoot
>();
float
s
=
root
.
activeHeight
/
Screen
.
height
;
float
s
=
(
float
)
root
.
activeHeight
/
Screen
.
height
;
var
tex
=
backGround
.
GetComponent
<
UITexture
>().
mainTexture
;
float
ss
=
(
float
)
tex
.
height
/
(
float
)
tex
.
width
;
int
width
=
(
int
)(
Screen
.
width
*
s
);
...
...
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