diff options
Diffstat (limited to 'Client/Assets/Scripts/ActionScripts/HUDDescription.cs')
-rw-r--r-- | Client/Assets/Scripts/ActionScripts/HUDDescription.cs | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/ActionScripts/HUDDescription.cs b/Client/Assets/Scripts/ActionScripts/HUDDescription.cs new file mode 100644 index 00000000..3e1496db --- /dev/null +++ b/Client/Assets/Scripts/ActionScripts/HUDDescription.cs @@ -0,0 +1,46 @@ +using UnityEngine;
+using XUtliPoolLib;
+using System.Collections;
+
+public class HUDDescription : MonoBehaviour, IXHUDDescription
+
+{
+ /// <summary>
+ /// Curve used to move entries with time.
+ /// </summary>
+
+ public AnimationCurve offsetCurve = new AnimationCurve(new Keyframe[] { new Keyframe(0f, 0f), new Keyframe(3f, 40f) });
+
+ /// <summary>
+ /// Curve used to fade out entries with time.
+ /// </summary>
+
+ public AnimationCurve alphaCurve = new AnimationCurve(new Keyframe[] { new Keyframe(1f, 1f), new Keyframe(3f, 0f) });
+
+ /// <summary>
+ /// Curve used to scale the entries.
+ /// </summary>
+
+ public AnimationCurve scaleCurve = new AnimationCurve(new Keyframe[] { new Keyframe(0f, 0f), new Keyframe(0.25f, 1f) });
+
+ public AnimationCurve GetPosCurve()
+ {
+ return offsetCurve;
+ }
+
+ public AnimationCurve GetAlphaCurve()
+ {
+ return alphaCurve;
+ }
+
+ public AnimationCurve GetScaleCurve()
+ {
+ return scaleCurve;
+ }
+
+ public bool Deprecated
+ {
+ get;
+ set;
+ }
+}
|