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
d5ee4498
Commit
d5ee4498
authored
Aug 04, 2022
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update default config
parent
69ee13db
Pipeline
#15323
failed with stages
in 84 minutes and 38 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
Assets/SibylSystem/CardDescription/CardDescription.cs
Assets/SibylSystem/CardDescription/CardDescription.cs
+1
-1
Assets/SibylSystem/Setting/Setting.cs
Assets/SibylSystem/Setting/Setting.cs
+5
-6
No files found.
Assets/SibylSystem/CardDescription/CardDescription.cs
View file @
d5ee4498
...
@@ -75,7 +75,7 @@ public class CardDescription : Servant
...
@@ -75,7 +75,7 @@ public class CardDescription : Servant
lineSprite
=
UIHelper
.
getByName
<
UISprite
>(
gameObject
,
"line"
);
lineSprite
=
UIHelper
.
getByName
<
UISprite
>(
gameObject
,
"line"
);
try
try
{
{
description
.
textLabel
.
fontSize
=
int
.
Parse
(
Config
.
Get
(
"fontSize"
,
"1
6
"
));
description
.
textLabel
.
fontSize
=
int
.
Parse
(
Config
.
Get
(
"fontSize"
,
"1
4
"
));
}
}
catch
(
Exception
e
)
catch
(
Exception
e
)
{
{
...
...
Assets/SibylSystem/Setting/Setting.cs
View file @
d5ee4498
...
@@ -40,12 +40,12 @@ public class Setting : WindowServant2D
...
@@ -40,12 +40,12 @@ public class Setting : WindowServant2D
UIHelper
.
getByName
<
UIToggle
>(
gameObject
,
"smartSelect_"
).
value
=
UIHelper
.
getByName
<
UIToggle
>(
gameObject
,
"smartSelect_"
).
value
=
UIHelper
.
fromStringToBool
(
Config
.
Get
(
"smartSelect_"
,
"1"
));
UIHelper
.
fromStringToBool
(
Config
.
Get
(
"smartSelect_"
,
"1"
));
UIHelper
.
getByName
<
UIToggle
>(
gameObject
,
"autoChain_"
).
value
=
UIHelper
.
getByName
<
UIToggle
>(
gameObject
,
"autoChain_"
).
value
=
UIHelper
.
fromStringToBool
(
Config
.
Get
(
"autoChain_"
,
"
1
"
));
UIHelper
.
fromStringToBool
(
Config
.
Get
(
"autoChain_"
,
"
0
"
));
UIHelper
.
getByName
<
UIToggle
>(
gameObject
,
"handPosition_"
).
value
=
UIHelper
.
getByName
<
UIToggle
>(
gameObject
,
"handPosition_"
).
value
=
UIHelper
.
fromStringToBool
(
Config
.
Get
(
"handPosition_"
,
"1"
));
UIHelper
.
fromStringToBool
(
Config
.
Get
(
"handPosition_"
,
"1"
));
UIHelper
.
getByName
<
UIToggle
>(
gameObject
,
"handmPosition_"
).
value
=
UIHelper
.
getByName
<
UIToggle
>(
gameObject
,
"handmPosition_"
).
value
=
UIHelper
.
fromStringToBool
(
Config
.
Get
(
"handmPosition_"
,
"1"
));
UIHelper
.
fromStringToBool
(
Config
.
Get
(
"handmPosition_"
,
"1"
));
UIHelper
.
getByName
<
UIToggle
>(
gameObject
,
"spyer_"
).
value
=
UIHelper
.
fromStringToBool
(
Config
.
Get
(
"spyer_"
,
"
1
"
));
UIHelper
.
getByName
<
UIToggle
>(
gameObject
,
"spyer_"
).
value
=
UIHelper
.
fromStringToBool
(
Config
.
Get
(
"spyer_"
,
"
0
"
));
UIHelper
.
getByName
<
UIToggle
>(
gameObject
,
"resize_"
).
canChange
=
false
;
UIHelper
.
getByName
<
UIToggle
>(
gameObject
,
"resize_"
).
canChange
=
false
;
// UIHelper.getByName<UIToggle>(gameObject, "resize_").value =
// UIHelper.getByName<UIToggle>(gameObject, "resize_").value =
// UIHelper.fromStringToBool(Config.Get("resize_", "0"));
// UIHelper.fromStringToBool(Config.Get("resize_", "0"));
...
@@ -75,11 +75,10 @@ public class Setting : WindowServant2D
...
@@ -75,11 +75,10 @@ public class Setting : WindowServant2D
for
(
var
i
=
0
;
i
<
collection
.
Length
;
i
++)
for
(
var
i
=
0
;
i
<
collection
.
Length
;
i
++)
if
(
collection
[
i
].
name
.
Length
>
0
&&
collection
[
i
].
name
[
0
]
==
'*'
)
if
(
collection
[
i
].
name
.
Length
>
0
&&
collection
[
i
].
name
[
0
]
==
'*'
)
{
{
if
(
collection
[
i
].
name
==
"*mouseParticle"
||
collection
[
i
].
name
==
"*showOff"
||
if
(
collection
[
i
].
name
==
"*MonsterCloud"
)
collection
[
i
].
name
==
"*Efield"
||
collection
[
i
].
name
==
"*Ewin"
)
collection
[
i
].
value
=
UIHelper
.
fromStringToBool
(
Config
.
Get
(
collection
[
i
].
name
,
"1"
));
else
collection
[
i
].
value
=
UIHelper
.
fromStringToBool
(
Config
.
Get
(
collection
[
i
].
name
,
"0"
));
collection
[
i
].
value
=
UIHelper
.
fromStringToBool
(
Config
.
Get
(
collection
[
i
].
name
,
"0"
));
else
collection
[
i
].
value
=
UIHelper
.
fromStringToBool
(
Config
.
Get
(
collection
[
i
].
name
,
"1"
));
}
}
setting
.
showoffATK
.
value
=
Config
.
Get
(
"showoffATK"
,
"1800"
);
setting
.
showoffATK
.
value
=
Config
.
Get
(
"showoffATK"
,
"1800"
);
...
...
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