private void ShowImpl() { this.m_root.gameObject.SetActive(true); TAG_CARDTYPE cardType = this.m_actor.GetEntity().GetCardType(); this.m_text.gameObject.SetActive(true); this.m_text.Text = GameStrings.GetCardTypeName(cardType); switch (cardType) { case TAG_CARDTYPE.MINION: this.m_text.TextColor = this.MINION_COLOR; this.m_minionBanner.SetActive(true); break; case TAG_CARDTYPE.SPELL: this.m_text.TextColor = this.SPELL_COLOR; this.m_spellBanner.SetActive(true); break; case TAG_CARDTYPE.WEAPON: this.m_text.TextColor = this.WEAPON_COLOR; this.m_weaponBanner.SetActive(true); break; } this.UpdatePosition(); }