Esempio n. 1
0
 /// <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();
     }
 }
Esempio n. 2
0
 public virtual void Draw()
 {
     mDisplayCard.Draw();
     mExpandingCard.Draw();
 }
Esempio n. 3
0
 public virtual GameObject DisplayExpandedCard()
 {
     mExpandedCard = DisplayCard.Create <DisplayCard>(mEntity, ExpandedCardPrefab);
     mExpandedCard.Draw();
     return(mExpandedCard.UnityCard);
 }