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/Unit/Events/EventMesh_AfterImage.cs | |
parent | 8b04ea73e540067f83870b61d89db4868fea5e8a (diff) |
* move folder
Diffstat (limited to 'Assets/Scripts/Unit/Events/EventMesh_AfterImage.cs')
-rw-r--r-- | Assets/Scripts/Unit/Events/EventMesh_AfterImage.cs | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/Assets/Scripts/Unit/Events/EventMesh_AfterImage.cs b/Assets/Scripts/Unit/Events/EventMesh_AfterImage.cs deleted file mode 100644 index 3eb161cb..00000000 --- a/Assets/Scripts/Unit/Events/EventMesh_AfterImage.cs +++ /dev/null @@ -1,65 +0,0 @@ -using UnityEngine;
-
-public class EventMesh_AfterImage : AnimationEventBase
-{
- public enum ESpawnRange // 生成残影的范围
- {
- Once = 0, // 只生成一个残影
- Duration = 1, // 给定一个时间范围内
- WaitForAfterImageStopEvent = 2, // 等待触发afterImageStopEvent
- Manual = 3, // 手动停止生成
- }
-
- public enum ESpawnPosition
- {
- InitPosition = 0, // 在触发事件的位置生成
- Follow = 1, // 跟随
- }
-
- public enum ESpawnMode
- {
- Count = 0, // 生成固定数量个,间隔平均
- Interval = 1, // 等时间间隔生成
- Curve = 2, // 曲线
- }
-
- public enum EEffect // 效果
- {
- Original = 0, // 原样
- RimLight = 1, // 边缘光
- FullColor = 2, // 全着色
- Ink = 3, // 墨水效果
- Distorsion = 4, // 扭曲
- Dissolve = 5, // 溶解
- }
-
- public override TimelineEventProxy.EEventType type { get { return TimelineEventProxy.EEventType.EventMesh_AfterImage; } }
- public override string shortName { get { return "A"; } }
-
- [Comment("[ 残影生成 ]", TextAnchor.MiddleCenter)]
- public ESpawnRange spawnRange;
-
- [When("spawnRange", ESpawnRange.Duration), Tooltip("整个生成的持续时间(按时间,scaledTime)")]
- public float duration;
-
- public ESpawnPosition spawnPosition;
-
- public ESpawnMode spawnMode;
- [When("spawnMode", ESpawnMode.Count)]
- public int spawnCount;
- [When("spawnMode", ESpawnMode.Interval)]
- public float interval;
- [When("spawnMode", ESpawnMode.Curve)]
- public AnimationCurve spawnCurve;
-
- [Comment("[ 残影效果 ]", TextAnchor.MiddleCenter)]
- public EEffect effect;
-
- [ Tooltip("单个残影持续时间(按时间,scaledTime)")]
- public float lifetime;
-
- [When("effect", EEffect.RimLight)]
- [HDR] public Color rimColor;
-
- [HDR] public Color color;
-}
\ No newline at end of file |