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
0cacbb4b
Commit
0cacbb4b
authored
Sep 07, 2021
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix attack
parent
0fce2abb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
Assets/SibylSystem/Ocgcore/OCGobjects/gameCard.cs
Assets/SibylSystem/Ocgcore/OCGobjects/gameCard.cs
+6
-6
No files found.
Assets/SibylSystem/Ocgcore/OCGobjects/gameCard.cs
View file @
0cacbb4b
...
@@ -606,10 +606,10 @@ public class gameCard : OCGobject
...
@@ -606,10 +606,10 @@ public class gameCard : OCGobject
vector_of_begin
=
gameObject_face
.
transform
.
position
+
new
Vector3
(
0
,
0
,
2
);
vector_of_begin
=
gameObject_face
.
transform
.
position
+
new
Vector3
(
0
,
0
,
2
);
else
else
vector_of_begin
=
gameObject_face
.
transform
.
position
+
new
Vector3
(
0
,
0
,
1.5f
);
vector_of_begin
=
gameObject_face
.
transform
.
position
+
new
Vector3
(
0
,
0
,
1.5f
);
vector_of_begin
=
Utils
.
WorldToUI
Point
(
vector_of_begin
);
vector_of_begin
=
Program
.
I
().
main_camera
.
WorldToScreen
Point
(
vector_of_begin
);
for
(
var
i
=
0
;
i
<
buttons
.
Count
;
i
++)
for
(
var
i
=
0
;
i
<
buttons
.
Count
;
i
++)
buttons
[
i
].
show
(
vector_of_begin
+
i
*
new
Vector3
(
0
,
65f
*
0.7f
)
+
buttons
[
i
].
show
(
vector_of_begin
+
i
*
new
Vector3
(
0
,
65f
*
0.7f
*
Screen
.
height
/
700f
)
+
new
Vector3
(
0
,
35f
*
0.7f
));
new
Vector3
(
0
,
35f
*
0.7f
*
Screen
.
height
/
700f
));
}
}
else
else
{
{
...
@@ -617,10 +617,10 @@ public class gameCard : OCGobject
...
@@ -617,10 +617,10 @@ public class gameCard : OCGobject
var
vector_of_begin
=
Vector3
.
zero
;
var
vector_of_begin
=
Vector3
.
zero
;
var
l
=
0.5f
*
game_object_verticle_drawing
.
transform
.
localScale
.
y
*
(
h
-
0.5f
);
var
l
=
0.5f
*
game_object_verticle_drawing
.
transform
.
localScale
.
y
*
(
h
-
0.5f
);
vector_of_begin
=
game_object_verticle_drawing
.
transform
.
position
+
new
Vector3
(
0
,
l
,
l
*
1.732f
);
vector_of_begin
=
game_object_verticle_drawing
.
transform
.
position
+
new
Vector3
(
0
,
l
,
l
*
1.732f
);
vector_of_begin
=
Utils
.
WorldToUI
Point
(
vector_of_begin
);
vector_of_begin
=
Program
.
I
().
main_camera
.
WorldToScreen
Point
(
vector_of_begin
);
for
(
var
i
=
0
;
i
<
buttons
.
Count
;
i
++)
for
(
var
i
=
0
;
i
<
buttons
.
Count
;
i
++)
buttons
[
i
].
show
(
vector_of_begin
+
i
*
new
Vector3
(
0
,
65f
*
0.7f
)
+
buttons
[
i
].
show
(
vector_of_begin
+
i
*
new
Vector3
(
0
,
65f
*
0.7f
*
Screen
.
height
/
700f
)
+
new
Vector3
(
0
,
35f
*
0.7f
));
new
Vector3
(
0
,
35f
*
0.7f
*
Screen
.
height
/
700f
));
}
}
}
}
}
}
...
...
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