private void btn_click() { MgrAudio.PlaySound("s_click.mp3"); MgrPopup.Hide("Popup1", SceneAnimation.fade, 1f, null); // MgrPopup.Show ("Popup2", "55892", SceneAnimation.fade, 1f, () => { // Log.Debug ("Popup1 Done~"); // }); }
public override void OnUIEvent(XLAF_UIEvent e) { if (e.phase == Phase.Click) { if (e.target.name == "btn_ok") { InvokeCallback(inputField.text.ToLower()); MgrPopup.Hide("XLAFBackdoor", SceneAnimation.none); } else if (e.target.name == "btn_cancel") { MgrPopup.Hide("XLAFBackdoor", SceneAnimation.none); } } }