3 protected Widget m_wRootWidget;
4 protected TextWidget m_wValue;
11 m_wRootWidget = rootWidget;
12 m_wValue = TextWidget.Cast(rootWidget.FindAnyWidget(
"Value"));
17 void SetValue(
string value)
20 m_wValue.SetText(value);
25 void RemoveWidgetFromHierarchy()
27 m_wRootWidget.RemoveFromHierarchy();
33 void SetTranslatedValue(
string value,
string parameter1 =
"")
35 m_wValue.SetTextFormat(value, parameter1);
44 Widget result = parentWidget.FindAnyWidget(widgetName);
48 return GetComponent(result);