Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_PulsateUIComponent.c
Go to the documentation of this file.
2{
3 [Attribute("Pulse")]
4 protected string m_sPulseWidgetName;
5
6 [Attribute("2")]
7 protected float m_fPulsateAnimationSpeed;
8
9 [Attribute("", UIWidgets.ComboBox, "Animation curve", "", ParamEnumArray.FromEnum(EAnimationCurve))]
11
12 //------------------------------------------------------------------------------------------------
13 override void HandlerAttached(Widget w)
14 {
15 Widget pulse = w.FindAnyWidget(m_sPulseWidgetName);
17 if (!anim)
18 return;
19
20 anim.SetRepeat(true);
21 anim.SetCurve(m_eCurve);
22 }
23}
void WidgetAnimationBase(Widget w, float speed)
EAnimationCurve
static WidgetAnimationOpacity Opacity(Widget widget, float targetValue, float speed, bool toggleVisibility=false)
override void HandlerAttached(Widget w)
SCR_FieldOfViewSettings Attribute