public void ResetInfoCards() { if (this.InfoBoxCards != null) { OnInfoBoxCardsEmpty?.Invoke(); } SetInfoBoxCards(null); }
public void NextCardForInfoBox() { if (this.InfoBoxCards != null && InfoBoxCards.Count > 0 && cardCount < InfoBoxCards.Count) { NextTextAnimationInfoBox(InfoBoxCards[cardCount++]); } else { if (this.InfoBoxCards != null) { OnInfoBoxCardsEmpty?.Invoke(); } SetInfoBoxCards(null); } }