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
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
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
MyCard
YGOProUnity_V2
Commits
df3e0620
Commit
df3e0620
authored
May 25, 2017
by
lllyasviel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
5ae4f260
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
Assets/SibylSystem/CardDescription/CardDescription.cs
Assets/SibylSystem/CardDescription/CardDescription.cs
+1
-2
Assets/SibylSystem/Ocgcore/OCGobjects/gameHiddenButton.cs
Assets/SibylSystem/Ocgcore/OCGobjects/gameHiddenButton.cs
+1
-1
Assets/SibylSystem/ServantWithCardDescription.cs
Assets/SibylSystem/ServantWithCardDescription.cs
+3
-1
No files found.
Assets/SibylSystem/CardDescription/CardDescription.cs
View file @
df3e0620
...
...
@@ -32,7 +32,6 @@ public class CardDescription : Servant
picLoader
.
uiTexture
=
UIHelper
.
getByName
<
UITexture
>(
gameObject
,
"pic_"
);
picLoader
.
loaded_code
=
-
1
;
resizer
=
UIHelper
.
getByName
<
UIDragResize
>(
gameObject
,
"resizer"
);
resizer
.
onResize
=
onResized
;
underSprite
=
UIHelper
.
getByName
<
UITexture
>(
gameObject
,
"under_"
);
description
=
UIHelper
.
getByName
<
UITextList
>(
gameObject
,
"description_"
);
cardShowerWidget
=
UIHelper
.
getByName
<
UIWidget
>(
gameObject
,
"card_shower"
);
...
...
@@ -339,7 +338,7 @@ public class CardDescription : Servant
}
}
void
onResized
()
public
void
onResized
()
{
if
(
monitor
.
gameObject
.
activeInHierarchy
)
{
...
...
Assets/SibylSystem/Ocgcore/OCGobjects/gameHiddenButton.cs
View file @
df3e0620
...
...
@@ -168,7 +168,7 @@ public class gameHiddenButton : OCGobject
}
}
}
Program
.
I
().
cardDescription
.
setData
(
data
,
con
==
0
?
GameTextureManager
.
myBack
:
GameTextureManager
.
opBack
,
tailString
);
Program
.
I
().
cardDescription
.
setData
(
data
,
con
==
0
?
GameTextureManager
.
myBack
:
GameTextureManager
.
opBack
,
tailString
,
data
!=
null
);
if
(
Program
.
I
().
ocgcore
.
condition
==
Ocgcore
.
Condition
.
duel
&&
Program
.
I
().
ocgcore
.
InAI
==
false
&&
Program
.
I
().
room
.
mode
!=
2
)
{
if
(
player
==
0
)
...
...
Assets/SibylSystem/ServantWithCardDescription.cs
View file @
df3e0620
...
...
@@ -23,9 +23,11 @@ public class ServantWithCardDescription : Servant
public
override
void
preFrameFunction
()
{
var
des
=
Program
.
I
().
cardDescription
;
if
(
Program
.
pointedGameObject
!=
Program
.
I
().
cardDescription
.
description
.
gameObject
)
{
Program
.
I
().
cardDescription
.
description
.
OnScroll
(
Program
.
wheelValue
/
50f
);
des
.
description
.
OnScroll
(
Program
.
wheelValue
/
50f
);
}
des
.
onResized
();
}
}
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