summaryrefslogtreecommitdiff
path: root/Assets/Scripts/Unit/Events/EventEffect.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Assets/Scripts/Unit/Events/EventEffect.cs')
-rw-r--r--Assets/Scripts/Unit/Events/EventEffect.cs17
1 files changed, 15 insertions, 2 deletions
diff --git a/Assets/Scripts/Unit/Events/EventEffect.cs b/Assets/Scripts/Unit/Events/EventEffect.cs
index 65479cb7..449b1e23 100644
--- a/Assets/Scripts/Unit/Events/EventEffect.cs
+++ b/Assets/Scripts/Unit/Events/EventEffect.cs
@@ -4,10 +4,23 @@ using UnityEngine;
public class EventEffect : AnimationEventBase
{
- public string effectName;
+ public override TimelineEvent.EEventType type { get { return TimelineEvent.EEventType.EventEffect; } }
+
+ [Tooltip("Effect path")]
+ public string effectPath;
+
+ [Tooltip("Is attached to a bone")]
public bool attached;
+
+ [Tooltip("Bone path attach to")]
public string bone;
+
+ [Tooltip("Position offset")]
public Vector3 position;
- public Quaternion rotation;
+
+ [Tooltip("Rotation in euler")]
+ public Vector3 rotation;
+
+ [Tooltip("Scale")]
public Vector3 scale;
}