Add documentation

This commit is contained in:
Michal Pikulski
2025-11-11 13:20:06 +01:00
parent 9a6914b9bd
commit dcf8c8bb87
10 changed files with 1003 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;