summaryrefslogtreecommitdiff
path: root/Assets/Scripts/Unit/Events/EventProjectile.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Assets/Scripts/Unit/Events/EventProjectile.cs')
-rw-r--r--Assets/Scripts/Unit/Events/EventProjectile.cs32
1 files changed, 32 insertions, 0 deletions
diff --git a/Assets/Scripts/Unit/Events/EventProjectile.cs b/Assets/Scripts/Unit/Events/EventProjectile.cs
new file mode 100644
index 00000000..526628e8
--- /dev/null
+++ b/Assets/Scripts/Unit/Events/EventProjectile.cs
@@ -0,0 +1,32 @@
+using System.Collections;
+using System.Collections.Generic;
+using UnityEngine;
+
+public class EventProjectile : AnimationEventBase
+{
+ public override TimelineEvent.EEventType type { get { return TimelineEvent.EEventType.EventProjectile; } }
+
+ public override string shortName { get { return "P"; } }
+
+ [Tooltip("Projectile path")]
+ public string projectilePath;
+
+ [Tooltip("Is attached to a bone")]
+ public bool attached;
+
+ [Tooltip("Bone path attach to")]
+ public string bone;
+
+ [Tooltip("Position offset")]
+ public Vector3 position;
+
+ [Tooltip("Rotation in euler")]
+ public Vector3 rotation;
+
+ [Tooltip("Scale")]
+ public Vector3 scale;
+
+ [Tooltip("Initial velocity")]
+ public Vector3 velocity;
+
+}