3 private ButtonWidget m_BtnOk;
4 private ButtonWidget m_BtnCancel;
9 void UIPopupScriptSceneNew(
Widget wgt)
11 m_BtnOk = ButtonWidget.Cast( wgt.FindAnyWidget(
"btn_ppp_sn_ok") );
12 m_BtnCancel = ButtonWidget.Cast( wgt.FindAnyWidget(
"btn_ppp_sn_cancel") );
20 super.OnClick(w,
x,
y, button);
26 PluginSceneManager editor = PluginSceneManager.Cast(
GetPlugin(PluginSceneManager) );
28 Log(
"OnClick -> SceneLoad");
30 editor.SceneLoad(wgt_text.GetText());
37 else if ( w == m_BtnCancel )