diff --git a/Role/Role.cs b/Role/Role.cs index 22990ae..410c74a 100644 --- a/Role/Role.cs +++ b/Role/Role.cs @@ -47,7 +47,7 @@ public class Role : Fun [Header("名称")] public string Name; [Header("阵营")] public Camp camp ; [Header("血量")] public float hp = 100f;//血量 - private float maxHp; + public float maxHp; [Header(("死亡动画编号"))] public int dieIndex=-1; [Header("hp填充直接扣")] public Image Hpfiil;