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
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
mercury233
ygopro2
Commits
0b184927
Commit
0b184927
authored
Aug 14, 2021
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
turn off win explode effect
parent
e8d1dcf6
Pipeline
#4661
failed with stages
in 18 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
9 deletions
+13
-9
Assets/SibylSystem/Ocgcore/Ocgcore.cs
Assets/SibylSystem/Ocgcore/Ocgcore.cs
+13
-9
No files found.
Assets/SibylSystem/Ocgcore/Ocgcore.cs
View file @
0b184927
...
...
@@ -2672,20 +2672,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
(
false
)
// 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
,
...
...
@@ -2698,7 +2702,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
,
...
...
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