diff options
author | chai <chaifix@163.com> | 2022-03-10 14:07:40 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2022-03-10 14:07:40 +0800 |
commit | 22891bf59032ba88262824255a706d652031384b (patch) | |
tree | 7595439ba9966c9402d37e37cee5e8cf098757d5 /Assets/Scripts/Avatar/HitDefination.cs | |
parent | 8b04ea73e540067f83870b61d89db4868fea5e8a (diff) |
* move folder
Diffstat (limited to 'Assets/Scripts/Avatar/HitDefination.cs')
-rw-r--r-- | Assets/Scripts/Avatar/HitDefination.cs | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/Assets/Scripts/Avatar/HitDefination.cs b/Assets/Scripts/Avatar/HitDefination.cs deleted file mode 100644 index d5d68b23..00000000 --- a/Assets/Scripts/Avatar/HitDefination.cs +++ /dev/null @@ -1,51 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using UnityEngine; - -/// <summary>
-/// 攻击类型,对应不同的受击者反馈(动作)
-/// </summary> -public enum HitType
-{
- Light, // 轻击
- Midium, // 中击
- Heavy, // 重击
- Ground, // 击倒
- Air, // 击飞
-} - -public enum HitSparkHost
-{
- Center, // 受击者质心 - Hitpoint, // 重叠盒子中心 - Fixed, // 固定挂点sparkHost - WorldPosition, // 世界空间位置sparkRotation -} - -/// <summary>
-/// 一个hit的定义,如果一个attack有多个hit,需要定义多个HitDef
-/// </summary> -public class HitDefination -{
- // 触发的开始和结束时间范围,用来处理一个attack多个hit的情况
- public float start = 0f; - public float end = 1f;
-
- public HitType type = HitType.Light; // 类型
-
- // 特效
- public string sparkName = string.Empty; // 特效 - public HitSparkHost sparkHostType = HitSparkHost.Center;
- public Transform sparkHost = null; // 特效挂点 - public Vector3 sparkPosition; // 特效位置 - public Quaternion sparkRotation; // 特效旋转 - public Vector3 sparkScale = Vector3.one; // 特效缩放 - - // 相机反馈 - - // 攻击方反馈 - - // 受击方反馈 - public Vector3 hurtAddForce = Vector3.zero; - -}
\ No newline at end of file |