3 private ButtonWidget m_BtnOk;
4 private ButtonWidget m_BtnCancel;
9 void UIPopupScriptPresetNew(
Widget wgt )
11 m_BtnOk = ButtonWidget.Cast( wgt.FindAnyWidget(
"btn_ppp_pn_ok") );
12 m_BtnCancel = ButtonWidget.Cast( wgt.FindAnyWidget(
"btn_ppp_pn_cancel") );
20 super.OnClick( w,
x,
y, button );
28 SceneEditorMenu menu = SceneEditorMenu.Cast(
GetGame().GetUIManager().GetMenu() );
34 else if ( w == m_BtnCancel )