Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
MDPro2
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
Fakesonkun
MDPro2
Commits
f97d77de
Commit
f97d77de
authored
Jul 20, 2023
by
赤子奈落
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix ui card detail bug
parent
89a9d7c1
Changes
6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
4189 additions
and
3560 deletions
+4189
-3560
Assets/MD/Scripts/CardDetail.cs
Assets/MD/Scripts/CardDetail.cs
+5
-5
Assets/MD/Texture/mask_airoom.png
Assets/MD/Texture/mask_airoom.png
+0
-0
Assets/MD/Texture/mask_card detail.png
Assets/MD/Texture/mask_card detail.png
+0
-0
Assets/MD/main.unity
Assets/MD/main.unity
+4171
-3554
Assets/NGUI/Scripts/Internal/UIDrawCall.cs
Assets/NGUI/Scripts/Internal/UIDrawCall.cs
+1
-1
Assets/SibylSystem/Ocgcore/Ocgcore.cs
Assets/SibylSystem/Ocgcore/Ocgcore.cs
+12
-0
No files found.
Assets/MD/Scripts/CardDetail.cs
View file @
f97d77de
...
...
@@ -6,7 +6,7 @@ using YGOSharp.OCGWrapper.Enums;
public
class
CardDetail
:
MonoBehaviour
{
public
UI
Widget
widge
;
public
UI
Panel
Panel
;
public
UITexture
pic
;
public
UILabel
label_name
;
public
UILabel
label_property
;
...
...
@@ -41,10 +41,10 @@ public class CardDetail : MonoBehaviour
private
void
Start
()
{
widge
.
alpha
=
0f
;
Panel
.
alpha
=
0f
;
UIHelper
.
registEvent
(
gameObject
,
"exit_"
,
Hide
);
widge
.
alpha
=
1f
;
Panel
.
alpha
=
1f
;
gameObject
.
SetActive
(
false
);
}
...
...
@@ -54,7 +54,7 @@ public class CardDetail : MonoBehaviour
return
;
Card
origin
=
CardsManager
.
Get
(
card
.
Id
);
isShowed
=
true
;
widge
.
alpha
=
1f
;
Panel
.
alpha
=
1f
;
SEHandler
.
PlayInternalAudio
(
"se_sys/SE_DECK_WINDOW_OPEN"
);
pic
.
mainTexture
=
GameTextureManager
.
GetCardPictureNow
(
origin
.
Id
);
label_name
.
text
=
origin
.
Name
;
...
...
@@ -266,7 +266,7 @@ public class CardDetail : MonoBehaviour
public
void
Hide
()
{
isShowed
=
false
;
widge
.
alpha
=
0f
;
Panel
.
alpha
=
0f
;
gameObject
.
SetActive
(
false
);
SEHandler
.
PlayInternalAudio
(
"se_sys/SE_MENU_CANCEL"
);
}
...
...
Assets/MD/Texture/mask_airoom.png
View replaced file @
89a9d7c1
View file @
f97d77de
4.61 KB
|
W:
|
H:
5.15 KB
|
W:
|
H:
2-up
Swipe
Onion skin
Assets/MD/Texture/mask_card detail.png
View replaced file @
89a9d7c1
View file @
f97d77de
4.49 KB
|
W:
|
H:
8.51 KB
|
W:
|
H:
2-up
Swipe
Onion skin
Assets/MD/main.unity
View file @
f97d77de
This diff is collapsed.
Click to expand it.
Assets/NGUI/Scripts/Internal/UIDrawCall.cs
View file @
f97d77de
Assets/SibylSystem/Ocgcore/Ocgcore.cs
View file @
f97d77de
...
...
@@ -8717,6 +8717,18 @@ public class Ocgcore : ServantWithCardDescription
gameField
.
hideSpButtons
(
gameObject
);
gameField
.
btn_decide
.
hide
();
}
else
if
(
gameObject
.
name
==
"pic_button"
)
{
Debug
.
Log
(
"Mark1"
);
gameField
.
hideSpButtons
(
gameObject
);
gameField
.
btn_decide
.
hide
();
}
else
if
(
gameObject
.
name
==
"back_cardDetail"
)
{
Debug
.
Log
(
"Mark2"
);
gameField
.
hideSpButtons
(
gameObject
);
gameField
.
btn_decide
.
hide
();
}
else
if
(
gameObject
.
name
==
"duelLog_"
)
{
gameField
.
hideSpButtons
(
gameObject
);
...
...
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