Compare commits
1 Commits
lifecycle_
...
7307971748
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7307971748 |
@@ -307,11 +307,9 @@ namespace UI.CardSystem.DragDrop
|
|||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
protected override void OnDestroy()
|
private void OnDestroy()
|
||||||
{
|
{
|
||||||
base.OnDestroy();
|
|
||||||
|
|
||||||
if (_boosterDraggable != null)
|
if (_boosterDraggable != null)
|
||||||
{
|
{
|
||||||
_boosterDraggable.OnBoosterOpened -= HandleBoosterOpened;
|
_boosterDraggable.OnBoosterOpened -= HandleBoosterOpened;
|
||||||
|
|||||||
@@ -106,11 +106,9 @@ namespace UI.CardSystem.DragDrop
|
|||||||
base.OnDragEndedVisual();
|
base.OnDragEndedVisual();
|
||||||
// Card-specific visual effects when dragging ends
|
// Card-specific visual effects when dragging ends
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void OnDestroy()
|
private void OnDestroy()
|
||||||
{
|
{
|
||||||
base.OnDestroy();
|
|
||||||
|
|
||||||
if (_cardDraggable != null)
|
if (_cardDraggable != null)
|
||||||
{
|
{
|
||||||
_cardDraggable.OnCardDataChanged -= HandleCardDataChanged;
|
_cardDraggable.OnCardDataChanged -= HandleCardDataChanged;
|
||||||
|
|||||||
Reference in New Issue
Block a user