using System.Collections; 
 | 
using System.Collections.Generic; 
 | 
using UnityEngine; 
 | 
using UnityEngine.UI; 
 | 
  
 | 
public class TotalDamageDisplayer : MonoBehaviour 
 | 
{ 
 | 
    public Image damageBackground; 
 | 
  
 | 
    public Text textDamage; 
 | 
  
 | 
    public Text textTotalDesc; //总伤害或者总治疗 
 | 
  
 | 
    public void SetDamage(bool isEnd, BattleDmgInfo dmgInfo) 
 | 
    { 
 | 
        if (dmgInfo == null) 
 | 
        { 
 | 
            return; 
 | 
        } 
 | 
  
 | 
        if (dmgInfo.IsType(DamageType.Recovery)) 
 | 
        { 
 | 
  
 | 
        } 
 | 
        else if (dmgInfo.IsType(DamageType.Damage) || dmgInfo.IsType(DamageType.Realdamage)) 
 | 
        { 
 | 
  
 | 
        } 
 | 
    } 
 | 
  
 | 
  
 | 
} 
 |