Exemplo n.º 1
0
 public CardAttackText GetCardAttackText()
 {
     if (this.cardAttackText == null)
     {
         this.cardAttackText = GetComponentInChildren <CardAttackText>();
     }
     return(this.cardAttackText);
 }
Exemplo n.º 2
0
 public CardAttackText GetCardAttack()
 {
     if (this.attackTM == null)
     {
         this.attackTM = GetComponent <CardAttackText>();
         // this.attackTM.fontSharedMaterial = Resources.Load<Material>(fontPath + fontHealth);
     }
     return(this.attackTM);
 }