3 private ButtonWidget m_BtnYes;
4 private ButtonWidget m_BtnNo;
5 private string m_DeleteScene;
10 void UIPopupScriptSceneDelete(
Widget wgt)
12 m_BtnYes = ButtonWidget.Cast( wgt.FindAnyWidget(
"btn_ppp_sn_dlt_yes") );
13 m_BtnNo = ButtonWidget.Cast( wgt.FindAnyWidget(
"btn_ppp_sn_dlt_no") );
21 super.OnClick(w,
x,
y, button);
25 PluginSceneManager editor = PluginSceneManager.Cast(
GetPlugin(PluginSceneManager) );
27 editor.SceneDelete(m_DeleteScene);
33 else if ( w == m_BtnNo )
43 void SetDeleteName(
string scene_name)
45 m_DeleteScene = scene_name;