diff options
author | chai <chaifix@163.com> | 2021-07-23 18:42:13 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-07-23 18:42:13 +0800 |
commit | 4ceee84cd45e4e3ec40ebd888e41bd47a938c2d5 (patch) | |
tree | 7ab020f3c784a90eec9e8a100db68039b5306b45 /Assets/Scripts/Unit/Events/EventProjectile.cs | |
parent | cb893e1e5e4820cb800836cf6b8a79a1cd986cdc (diff) |
*misc
Diffstat (limited to 'Assets/Scripts/Unit/Events/EventProjectile.cs')
-rw-r--r-- | Assets/Scripts/Unit/Events/EventProjectile.cs | 32 |
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;
+
+}
|