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
89299a43
Commit
89299a43
authored
Jun 02, 2021
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
win effect can be turned off
parent
b91b8340
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
460 additions
and
17 deletions
+460
-17
Assets/ArtSystem/Setting/LAZYsetting.cs
Assets/ArtSystem/Setting/LAZYsetting.cs
+1
-0
Assets/SibylSystem/Ocgcore/Ocgcore.cs
Assets/SibylSystem/Ocgcore/Ocgcore.cs
+13
-9
Assets/SibylSystem/Setting/Setting.cs
Assets/SibylSystem/Setting/Setting.cs
+1
-1
Assets/transUI/prefab/trans_setting.prefab
Assets/transUI/prefab/trans_setting.prefab
+445
-7
No files found.
Assets/ArtSystem/Setting/LAZYsetting.cs
View file @
89299a43
...
...
@@ -32,6 +32,7 @@ public class LAZYsetting : MonoBehaviour {
public
UIToggle
Vactt
;
public
UIToggle
Vlink
;
public
UIToggle
Vfield
;
public
UIToggle
Vwin
;
public
UIToggle
resize
;
public
UIToggle
hand
;
...
...
Assets/SibylSystem/Ocgcore/Ocgcore.cs
View file @
89299a43
...
...
@@ -2648,20 +2648,24 @@ public class Ocgcore : ServantWithCardDescription
EventDelegate
.
Execute
(
UIHelper
.
getByName
<
UIButton
>(
toolBar
,
"stop_"
).
onClick
);
}
}
UIHelper
.
playSound
(
"explode"
,
0.4f
);
float
real
=
(
Program
.
fieldSize
-
1
)
*
0.9f
+
1f
;
RMSshow_clear
();
GameObject
explode
=
create
(
result
==
duelResult
.
win
?
Program
.
I
().
mod_winExplode
:
Program
.
I
().
mod_loseExplode
);
var
co
=
explode
.
AddComponent
<
animation_screen_lock
>();
co
.
screen_point
=
Program
.
camera_game_main
.
WorldToScreenPoint
(
new
Vector3
(
0
,
0
,
-
5.65f
*
real
));
co
.
screen_point
.
z
=
2
;
explode
.
transform
.
position
=
Camera
.
main
.
ScreenToWorldPoint
(
co
.
screen_point
);
float
real
=
(
Program
.
fieldSize
-
1
)
*
0.9f
+
1f
;
var
point
=
Program
.
camera_game_main
.
WorldToScreenPoint
(
new
Vector3
(
0
,
0
,
-
5.65f
*
real
));
point
.
z
=
2
;
if
(
Program
.
I
().
setting
.
setting
.
Vwin
.
value
)
{
UIHelper
.
playSound
(
"explode"
,
0.4f
);
GameObject
explode
=
create
(
result
==
duelResult
.
win
?
Program
.
I
().
mod_winExplode
:
Program
.
I
().
mod_loseExplode
);
var
co
=
explode
.
AddComponent
<
animation_screen_lock
>();
co
.
screen_point
=
point
;
explode
.
transform
.
position
=
Camera
.
main
.
ScreenToWorldPoint
(
point
);
}
if
(
condition
==
Condition
.
record
)
{
winCaculator
=
create
(
Program
.
I
().
New_winCaculatorRecord
,
Program
.
camera_main_2d
.
ScreenToWorldPoint
(
co
.
screen_
point
),
Program
.
camera_main_2d
.
ScreenToWorldPoint
(
point
),
new
Vector3
(
0
,
0
,
0
),
true
,
Program
.
ui_main_2d
,
...
...
@@ -2674,7 +2678,7 @@ public class Ocgcore : ServantWithCardDescription
winCaculator
=
create
(
Program
.
I
().
New_winCaculator
,
Program
.
camera_main_2d
.
ScreenToWorldPoint
(
co
.
screen_
point
),
Program
.
camera_main_2d
.
ScreenToWorldPoint
(
point
),
new
Vector3
(
0
,
0
,
0
),
true
,
Program
.
ui_main_2d
,
...
...
Assets/SibylSystem/Setting/Setting.cs
View file @
89299a43
...
...
@@ -53,7 +53,7 @@ public class Setting : WindowServant2D
{
if
(
collection
[
i
].
name
.
Length
>
0
&&
collection
[
i
].
name
[
0
]
==
'*'
)
{
if
(
collection
[
i
].
name
==
"*mouseParticle"
||
collection
[
i
].
name
==
"*showOff"
||
collection
[
i
].
name
==
"*Efield"
)
if
(
collection
[
i
].
name
==
"*mouseParticle"
||
collection
[
i
].
name
==
"*showOff"
||
collection
[
i
].
name
==
"*Efield"
||
collection
[
i
].
name
==
"*Ewin"
)
{
collection
[
i
].
value
=
UIHelper
.
fromStringToBool
(
Config
.
Get
(
collection
[
i
].
name
,
"1"
));
}
...
...
Assets/transUI/prefab/trans_setting.prefab
View file @
89299a43
This diff is collapsed.
Click to expand it.
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