public override void AddFightTextToQueue(string text, SpecialAttackResult specialAttackType)
 {
     if (bpUICtr != null)
     {
         FightText ft = new FightText(text, specialAttackType);
         bpUICtr.fightTextManager.AddFightText(ft);
     }
 }
Exemplo n.º 2
0
 public FightText(string text, SpecialAttackResult specialResult)
 {
     this.text          = text;
     this.specialResult = specialResult;
 }
 /// <summary>
 /// 伤害文本动画
 /// </summary>
 /// <param name="hurtStr">Hurt string.</param>
 /// <param name="tintTextType">伤害类型 [TintTextType.Crit:暴击伤害 ,TintTextType.Miss: 伤害闪避]</param>
 public abstract void AddFightTextToQueue(string hurtStr, SpecialAttackResult specialAttackType);