Final touchups to the lifecycle management
This commit is contained in:
@@ -107,10 +107,8 @@ namespace UI.CardSystem.DragDrop
|
||||
// Card-specific visual effects when dragging ends
|
||||
}
|
||||
|
||||
protected override void OnDestroy()
|
||||
private void OnDestroy()
|
||||
{
|
||||
base.OnDestroy();
|
||||
|
||||
if (_cardDraggable != null)
|
||||
{
|
||||
_cardDraggable.OnCardDataChanged -= HandleCardDataChanged;
|
||||
|
||||
Reference in New Issue
Block a user