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
5f481bf0
Commit
5f481bf0
authored
Apr 10, 2019
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix deckDirty when begin dragging
parent
66d5a723
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
Assets/SibylSystem/deckManager/DeckManager.cs
Assets/SibylSystem/deckManager/DeckManager.cs
+5
-5
No files found.
Assets/SibylSystem/deckManager/DeckManager.cs
View file @
5f481bf0
...
...
@@ -1291,7 +1291,6 @@ public class DeckManager : ServantWithCardDescription
card
.
cardData
=
cardPicLoader_
.
data
;
card
.
gameObject
.
layer
=
16
;
deck
.
IMain
.
Add
(
card
);
deckDirty
=
true
;
cardInDragging
=
card
;
card
.
beginDrag
();
}
...
...
@@ -1310,7 +1309,8 @@ public class DeckManager : ServantWithCardDescription
}
else
{
deckDirty
=
true
;
if
(
cardInDragging
.
getIfAlive
())
deckDirty
=
true
;
ArrangeObjectDeck
(
true
);
ShowObjectDeck
();
}
...
...
@@ -1378,9 +1378,9 @@ public class DeckManager : ServantWithCardDescription
deck
.
ISide
.
Add
(
MonoCardInDeckManager_
);
deck
.
IMain
.
Remove
(
MonoCardInDeckManager_
);
deck
.
IExtra
.
Remove
(
MonoCardInDeckManager_
);
}
}
deckDirty
=
true
;
ShowObjectDeck
();
ShowObjectDeck
();
}
}
}
...
...
@@ -1411,7 +1411,7 @@ public class DeckManager : ServantWithCardDescription
{
deck
.
IMain
.
Add
(
card
);
deck
.
Main
.
Add
(
card
.
cardData
.
Id
);
}
}
deckDirty
=
true
;
}
}
...
...
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