public void exitClick() { if (searching) { stopSearching = true; if (timer != null) { timer.Dispose(); } TurnPop(true); popup.SetActive(true); } else { popup.SetActive(false); foreach (var clickable in Clickable.Except(Clickable.Where(p => p.Parent == popup.grid))) { clickable.Active = true; } chosenDeck = null; Game1.self.popupToDraw = null; ClickableToRemove.ForEach(p => Clickable.Remove(p)); } }
public void onPopupExit() { popup.SetActive(false); foreach (var clickable in Clickable.Except(Clickable.Where(p => p.Parent == popup.grid))) { clickable.Active = true; } Game1.self.popupToDraw = null; }
public void onPopupExit() { popup.SetActive(false); foreach (var clickable in Clickable.Except(Clickable.Where(p => p.Parent == popup.grid))) { clickable.Active = true; } Game1.self.state = Game1.State.MainMenu; Game1.self.UpdateHistory(); Game1.self.UpdatePlayer(); Game1.self.popupToDraw = null; }
public void onExitCustom() { if (searching) { stopSearching = true; } else { popup.SetActive(false); foreach (var clickable in Clickable.Except(Clickable.Where(p => p.Parent == popup.grid))) { clickable.Active = true; } chosenDeck = null; Game1.self.popupToDraw = null; ClickableToRemove.ForEach(p => Clickable.Remove(p)); } }