diff options
author | chai <chaifix@163.com> | 2021-09-06 21:23:34 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-09-06 21:23:34 +0800 |
commit | 3f276efcac68e0603258fba2dcb751329690ba87 (patch) | |
tree | 642e06b05cfb3975502dd2b769defddefd990f5f /Assets/Scripts/Unit/Events/EventProjectile.cs | |
parent | 34d01108e9f0c5488e8824f768c43801dd8ed4cc (diff) |
*misc
Diffstat (limited to 'Assets/Scripts/Unit/Events/EventProjectile.cs')
-rw-r--r-- | Assets/Scripts/Unit/Events/EventProjectile.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Assets/Scripts/Unit/Events/EventProjectile.cs b/Assets/Scripts/Unit/Events/EventProjectile.cs index 6083179b..65bf4d29 100644 --- a/Assets/Scripts/Unit/Events/EventProjectile.cs +++ b/Assets/Scripts/Unit/Events/EventProjectile.cs @@ -52,8 +52,10 @@ public class EventProjectile : AnimationEventBase [When("moveType", EMoveType.Curve), Tooltip("运动曲线")]
public string curvePath;
+ [When("moveType", EMoveType.Curve), Tooltip("运动速度")]
+ public AnimationCurve speedCurve;
- [WhenNot("moveType", EMoveType.Procedural)]
+ [WhenNot("moveType", EMoveType.Procedural), Tooltip("forward朝向运动轨迹的方向")]
public bool towardDirection;
[Comment("[ 击中反馈 ]", TextAnchor.MiddleCenter)]
|