hch
10 小时以前 e95a97e663ba46ed474c89425dd92516a0d9b7dd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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))
        {
 
        }
    }
 
 
}