Exemplo n.º 1
0
 public CardHealthText GetCardHealthText()
 {
     if (this.cardHealthText == null)
     {
         this.cardHealthText = GetComponentInChildren <CardHealthText>();
     }
     return(this.cardHealthText);
 }
Exemplo n.º 2
0
 public CardHealthText GetCardHealth()
 {
     if (this.healthTM == null)
     {
         this.healthTM = GetComponent <CardHealthText>();
         // this.healthTM.fontSharedMaterial = Resources.Load<Material>(fontPath + fontHealth);
     }
     return(this.healthTM);
 }