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
fallenstardust
YGOProUnity_V2
Commits
0e59ad9b
Commit
0e59ad9b
authored
Sep 03, 2021
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
9fdef4bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
Assets/SibylSystem/Setting/Setting.cs
Assets/SibylSystem/Setting/Setting.cs
+3
-1
No files found.
Assets/SibylSystem/Setting/Setting.cs
View file @
0e59ad9b
...
...
@@ -130,7 +130,7 @@ public class Setting : WindowServant2D
public
void
SetScreenSizeValue
()
{
var
target
=
$"
{
Screen
.
currentResolution
.
width
}
x
{
Screen
.
currentResolutio
n
.
height
}
"
;
var
target
=
$"
{
Screen
.
width
}
x
{
Scree
n
.
height
}
"
;
if
(
_screen
.
value
!=
target
)
_screen
.
value
=
target
;
}
...
...
@@ -235,6 +235,8 @@ public class Setting : WindowServant2D
var
mats
=
UIHelper
.
getByName
<
UIPopupList
>(
gameObject
,
"screen_"
).
value
.
Split
(
new
[]
{
" x "
},
StringSplitOptions
.
RemoveEmptyEntries
);
Assert
.
IsTrue
(
mats
.
Length
==
2
);
Debug
.
Log
(
int
.
Parse
(
mats
[
0
]));
Debug
.
Log
(
int
.
Parse
(
mats
[
1
]));
Screen
.
SetResolution
(
int
.
Parse
(
mats
[
0
]),
int
.
Parse
(
mats
[
1
]),
UIHelper
.
getByName
<
UIToggle
>(
gameObject
,
"full_"
).
value
);
Program
.
go
(
100
,
()
=>
...
...
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