bugfix/HideUpgradesOnDeselect #9

Merged
Ader_Alisma merged 16 commits from bugfix/HideUpgradesOnDeselect into main 2025-09-07 22:48:30 +00:00
2 changed files with 1 additions and 4 deletions
Showing only changes of commit abcc1de8c7 - Show all commits

View File

@ -52,8 +52,6 @@ public class AllyUpgrade : MonoBehaviour, IPointerClickHandler
if (upgradeEnfant.TryGetComponent<UpgradePlacementButton>(out UpgradePlacementButton button))
{
button.Initialize(_upgradeList[i], gameObject, canvas);
//button.GetComponent<Selectable>().Select();
//button.gameObject.AddComponent<DeselectedAction>().Init(_instance);
}
}
}

View File

@ -28,8 +28,7 @@ public class DeselectManager : SingletonBehaviour<DeselectManager>
return;
}
}
Destroy(_allyUpgrade);
_allyUpgrade = null;
SetAllyUpgrade(null);
}
}