diff options
author | chai <chaifix@163.com> | 2020-11-02 19:53:12 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2020-11-02 19:53:12 +0800 |
commit | 3708d0a07ce43c3d98a0171eacfa9c370c873f96 (patch) | |
tree | 728f72bd8e6c464c6f56db7b08755031f685c45c /Assets/Scripts/Avatar/HitDefination.cs | |
parent | 64061aee5d7849f348f07b78fc3f96ad7555c147 (diff) |
*受击
Diffstat (limited to 'Assets/Scripts/Avatar/HitDefination.cs')
-rw-r--r-- | Assets/Scripts/Avatar/HitDefination.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Assets/Scripts/Avatar/HitDefination.cs b/Assets/Scripts/Avatar/HitDefination.cs index 1f622b32..96ceaf00 100644 --- a/Assets/Scripts/Avatar/HitDefination.cs +++ b/Assets/Scripts/Avatar/HitDefination.cs @@ -8,11 +8,11 @@ public class HitDefination public float start = 0f; public float end = 1f; // 触发的开始和结束时间范围,用来处理一个attack多个hit的情况 - public int effectID = 0; // 特效 - public Transform effectHost = null; // 特效挂点 - public Vector3 effectPosition; // 特效位置(effectHost为空时生效) - public Quaternion effectRotation; // 特效旋转 - public Vector3 effectScale = Vector3.one; // 特效缩放 + public int sparkID = 0; // 特效perfab ID + public Transform sparkHost = null; // 特效挂点 + public Vector3 sparkPosition; // 特效位置(sparkHost为空时生效) + public Quaternion sparkRotation; // 特效旋转 + public Vector3 sparkScale = Vector3.one; // 特效缩放 }
\ No newline at end of file |