23 m_Scroller = ScrollWidget.Cast(
m_Root.FindAnyWidget(
"dropdown_container" ) );
66 ButtonWidget element = ButtonWidget.Cast(
GetGame().GetWorkspace().CreateWidgets(
"gui/layouts/new_ui/dropdown_prefab/dropdown_element.layout",
m_ContentContainer ) );
68 textWidget.SetText( text );
72 element.AddChild( content,
false );
85 if( 0 < index && index <
m_Content.Count() )
proto native WorkspaceWidget GetWorkspace()
ScriptInvoker Class provide list of callbacks usage:
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
proto native CGame GetGame()