public void OnClick() { if (_deckBuilder.CurrentDeck != null) { _deckBuilder.CurrentDeck.general = generalData; } _deckBuilder.CreateOrAddCardListing(generalData); _deckBuilder.ShowSubPanel(DeckBuilder.DeckBuilderSubPanel.CardSearch, generalData.faction); }