Compare commits

..

1 Commits

Author SHA1 Message Date
Michal Pikulski
dcf8c8bb87 Add documentation 2025-11-11 13:32:02 +01:00
2 changed files with 8 additions and 4 deletions

View File

@@ -307,9 +307,11 @@ namespace UI.CardSystem.DragDrop
}
#endregion
private void OnDestroy()
protected override void OnDestroy()
{
base.OnDestroy();
if (_boosterDraggable != null)
{
_boosterDraggable.OnBoosterOpened -= HandleBoosterOpened;

View File

@@ -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;