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
kiggy
MDPro2
Commits
114729d1
Commit
114729d1
authored
Jun 18, 2023
by
赤子奈落
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix card description bug
parent
e7e365b3
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
Assets/MD/Scripts/PropertyIcons.cs
Assets/MD/Scripts/PropertyIcons.cs
+1
-0
Assets/MD/main.unity
Assets/MD/main.unity
+3
-2
Assets/SibylSystem/CardDescription/CardDescription.cs
Assets/SibylSystem/CardDescription/CardDescription.cs
+2
-2
No files found.
Assets/MD/Scripts/PropertyIcons.cs
View file @
114729d1
...
...
@@ -13,6 +13,7 @@ public class PropertyIcons : MonoBehaviour
public
Sprite
continuous
;
public
Sprite
quick_play
;
public
Sprite
ritual
;
public
Sprite
nothing
;
public
Sprite
race_01
;
public
Sprite
race_02
;
public
Sprite
race_03
;
...
...
Assets/MD/main.unity
View file @
114729d1
...
...
@@ -1876,7 +1876,7 @@ MonoBehaviour:
rightType: 1
bottomType: 1
topType: 1
mSprite
:
{
fileID
:
21300000
,
guid
:
dc753c068fb311d4ca6a3177d7719571
,
type
:
2
}
mSprite: {fileID: 21300000, guid:
e0abc31613480294e9ed2fb6e2718566
, type: 2}
mMat: {fileID: 0}
mShader: {fileID: 4800000, guid: e75727d9555d9d14ca51d91908c681bc, type: 3}
mBorder: {x: 0, y: 0, z: 0, w: 0}
...
...
@@ -9529,7 +9529,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive
:
1
m_IsActive:
0
--- !u!4 &1282667253
Transform:
m_ObjectHideFlags: 0
...
...
@@ -9792,6 +9792,7 @@ MonoBehaviour:
continuous: {fileID: 21300000, guid: 1320433050c3b8a4487a1499a7e56bea, type: 2}
quick_play: {fileID: 21300000, guid: 94a90cc290192b34f96cc594b29fa393, type: 2}
ritual: {fileID: 21300000, guid: 2c1623dc9791eb742abe2d2eedc46dbc, type: 2}
nothing: {fileID: 21300000, guid: e0abc31613480294e9ed2fb6e2718566, type: 2}
race_01: {fileID: 21300000, guid: 0c0ed83a84ce093419e3afd54ed35d88, type: 2}
race_02: {fileID: 21300000, guid: 08155e39c6671804580facfc72a54993, type: 2}
race_03: {fileID: 21300000, guid: 290d377d7eece214f89858b5b127081a, type: 2}
...
...
Assets/SibylSystem/CardDescription/CardDescription.cs
View file @
114729d1
...
...
@@ -276,7 +276,7 @@ public class CardDescription : Servant
SetRaceIcon
(
property_
.
transform
.
Find
(
"race_"
).
GetComponent
<
UI2DSprite
>(),
GameStringHelper
.
race
(
data
.
Race
));
}
}
else
else
if
(
secondType
!=
""
)
{
property_
=
property
.
transform
.
Find
(
"spell_trap"
).
gameObject
;
UI2DSprite
uI2DSprite
=
property_
.
transform
.
Find
(
"type_"
).
GetComponent
<
UI2DSprite
>();
...
...
@@ -314,7 +314,7 @@ public class CardDescription : Servant
else
{
type
+=
"通常"
;
uI2DSprite
.
sprite2D
=
null
;
uI2DSprite
.
sprite2D
=
pi
.
nothing
;
}
if
(
type_name
.
text
.
Contains
(
"魔法"
))
type
+=
"魔法"
;
...
...
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