Reset options menu data when exiting download menu

This commit is contained in:
2025-08-31 09:08:20 -07:00
parent 862026e760
commit ad1e14b54c
2 changed files with 10 additions and 6 deletions

View File

@@ -34,6 +34,10 @@ public class IconMarketplaceManager : MonoBehaviour
internal void SwitchPanel(int panelIndex)
{
downloadPanelScript.iconPurchaseSound.Stop();
downloadPanelScript.anyChanges = true;
downloadPanelScript.optionsPanelSortByDropdown.value = 3;
downloadPanelScript.optionsPanelPriceRangeToggle.isOn = false;
downloadPanelScript.optionsPanelSearchForToggle.isOn = false;
switch (panelIndex)
{
case 0: