diff options
Diffstat (limited to 'Assets/Scripts/Unit/Events/EventMesh_FadeIn.cs')
-rw-r--r-- | Assets/Scripts/Unit/Events/EventMesh_FadeIn.cs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Assets/Scripts/Unit/Events/EventMesh_FadeIn.cs b/Assets/Scripts/Unit/Events/EventMesh_FadeIn.cs new file mode 100644 index 00000000..29d1adde --- /dev/null +++ b/Assets/Scripts/Unit/Events/EventMesh_FadeIn.cs @@ -0,0 +1,19 @@ +using UnityEngine;
+
+public class EventMesh_FadeIn : AnimationEventBase
+{
+ public enum EFadeInMode
+ {
+ Linear = 0,
+ Curve = 1,
+ }
+
+ public override TimelineEventProxy.EEventType type { get { return TimelineEventProxy.EEventType.EventMesh_FadeIn; } }
+ public override string shortName { get { return "I"; } }
+
+ public EFadeInMode mode;
+
+ [Tooltip("Duration in frame")]
+ public float duration;
+
+}
\ No newline at end of file |