/// <summary> /// Draw this instance. /// Can always call this as it will handle whether the UI object actually exists /// </summary> public void Draw() { if (mExpandedCard != null) { mExpandedCard.Draw(); } }
public virtual void Draw() { mDisplayCard.Draw(); mExpandingCard.Draw(); }
public virtual GameObject DisplayExpandedCard() { mExpandedCard = DisplayCard.Create <DisplayCard>(mEntity, ExpandedCardPrefab); mExpandedCard.Draw(); return(mExpandedCard.UnityCard); }