From 22891bf59032ba88262824255a706d652031384b Mon Sep 17 00:00:00 2001 From: chai Date: Thu, 10 Mar 2022 14:07:40 +0800 Subject: * move folder --- Assets/Scripts/Unit/Events/EventMesh_AfterImage.cs | 65 ---------------------- 1 file changed, 65 deletions(-) delete mode 100644 Assets/Scripts/Unit/Events/EventMesh_AfterImage.cs (limited to 'Assets/Scripts/Unit/Events/EventMesh_AfterImage.cs') 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 -- cgit v1.1-26-g67d0