Compare commits
1 Commits
lifecycle_
...
7307971748
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7307971748 |
@@ -308,10 +308,8 @@ namespace UI.CardSystem.DragDrop
|
||||
|
||||
#endregion
|
||||
|
||||
protected override void OnDestroy()
|
||||
private void OnDestroy()
|
||||
{
|
||||
base.OnDestroy();
|
||||
|
||||
if (_boosterDraggable != null)
|
||||
{
|
||||
_boosterDraggable.OnBoosterOpened -= HandleBoosterOpened;
|
||||
|
||||
@@ -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