예제 #1
0
        public void OpenCompleteDialog()
        {
            var btnHome = new Kwmkade.UI.Dialog.DialogButton.ActionButton("Home", () => { Debug.Log("click ok"); });

            Kwmkade.UI.Dialog.DialogButton.ActionButton[] buttons = { btnHome };

            dialog.ShowDialog("Complete!", "", buttons, () => { Debug.Log("closed dialog."); }, true);
        }
예제 #2
0
        public void OpenPauseDialog()
        {
            var btnContinue = new Kwmkade.UI.Dialog.DialogButton.ActionButton("Continue", () => { _pauser.Resume(); });

            var btnRetry = new Kwmkade.UI.Dialog.DialogButton.ActionButton("Retry", ReloadScecne);

            var btnHome = new Kwmkade.UI.Dialog.DialogButton.ActionButton("Home", () => { Debug.Log("click ok"); });

            Kwmkade.UI.Dialog.DialogButton.ActionButton[] buttons = { btnContinue, btnRetry, btnHome };

            dialog.ShowDialog("Pause", "", buttons, () => { Debug.Log("closed dialog."); }, true);
        }