From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- Client/Assets/Scripts/XMainClient/XHudEntry.cs | 37 ++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/XHudEntry.cs (limited to 'Client/Assets/Scripts/XMainClient/XHudEntry.cs') diff --git a/Client/Assets/Scripts/XMainClient/XHudEntry.cs b/Client/Assets/Scripts/XMainClient/XHudEntry.cs new file mode 100644 index 00000000..b84f7c19 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/XHudEntry.cs @@ -0,0 +1,37 @@ +using System; +using UILib; +using UnityEngine; + +namespace XMainClient +{ + internal class XHudEntry + { + public float movementStart + { + get + { + return this.time + this.stay; + } + } + + public bool init = false; + + public float time; + + public float stay = 0f; + + public float offset = 0f; + + public float val = 0f; + + public IXUILabel label; + + public bool isDigital = true; + + public AnimationCurve offsetCurve = new AnimationCurve(); + + public AnimationCurve alphaCurve = new AnimationCurve(); + + public AnimationCurve scaleCurve = new AnimationCurve(); + } +} -- cgit v1.1-26-g67d0