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