summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/ActionScripts
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/ActionScripts')
-rw-r--r--Client/Assets/Scripts/ActionScripts/HUDDescription.cs46
-rw-r--r--Client/Assets/Scripts/ActionScripts/HUDDescription.cs.meta8
2 files changed, 54 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;
+ }
+}
diff --git a/Client/Assets/Scripts/ActionScripts/HUDDescription.cs.meta b/Client/Assets/Scripts/ActionScripts/HUDDescription.cs.meta
new file mode 100644
index 00000000..ed245efd
--- /dev/null
+++ b/Client/Assets/Scripts/ActionScripts/HUDDescription.cs.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 594814dd9584e6948880418157c9729d
+MonoImporter:
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData: