|
|
@@ -241,13 +241,13 @@ public class AttackController : MonoBehaviour
|
|
|
[Header("所有攻击帧事件及时间")]
|
|
|
public List<SpineAniKey> attackKeys;
|
|
|
public List<float> keyTimes; //所有的帧事件时间
|
|
|
- [DisplayOnly]
|
|
|
+ [HideInInspector]
|
|
|
public float attackTime; //攻击剩余时间
|
|
|
- [DisplayOnly]
|
|
|
+ [HideInInspector]
|
|
|
public float attackKeyCount; //攻击进行时间
|
|
|
- [DisplayOnly]
|
|
|
+ [HideInInspector]
|
|
|
public float nextStartKeyTime, nextEndKeyTime;
|
|
|
- [DisplayOnly]
|
|
|
+ [HideInInspector]
|
|
|
public int curKeyNum; //当前锁定到第几个帧事件
|
|
|
|
|
|
[Header("攻击类型")]
|
|
|
@@ -256,17 +256,17 @@ public class AttackController : MonoBehaviour
|
|
|
[Header("攻击参数")]
|
|
|
[LabelText("攻击间隔")]
|
|
|
public float attackInterval;
|
|
|
- [DisplayOnly]
|
|
|
+ [HideInInspector]
|
|
|
public int curDamage;
|
|
|
- [DisplayOnly]
|
|
|
+ [HideInInspector]
|
|
|
public bool canHitFly;
|
|
|
- [DisplayOnly]
|
|
|
+ [HideInInspector]
|
|
|
public AttackInfo attackInfo;
|
|
|
- [DisplayOnly]
|
|
|
+ [HideInInspector]
|
|
|
public GameObject addAttackEffect;
|
|
|
- [DisplayOnly]
|
|
|
+ [HideInInspector]
|
|
|
public SpecialSkills skill;
|
|
|
- [DisplayOnly]
|
|
|
+ [HideInInspector]
|
|
|
public float attackDistance;
|
|
|
|
|
|
[Header("攻击范围")]
|