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