4 protected string m_sPulseWidgetName;
7 protected float m_fPulsateAnimationSpeed;
9 [
Attribute(
"", UIWidgets.ComboBox,
"Animation curve",
"", ParamEnumArray.FromEnum(EAnimationCurve))]
10 protected EAnimationCurve m_eCurve;
13 override void HandlerAttached(Widget w)
15 Widget pulse = w.FindAnyWidget(m_sPulseWidgetName);
16 WidgetAnimationBase anim = AnimateWidget.Opacity(pulse, 0, m_fPulsateAnimationSpeed);
21 anim.SetCurve(m_eCurve);