Esempio n. 1
0
    void OnClickGeneralWindow(OthersInfoListContext item)
    {
        SoundUtil.PlaySE(SEID.SE_MENU_OK2);
        GeneralWindowDialog dialog = GeneralWindowDialog.Create();

        dialog.SetGroupID(item.ID);
        dialog.SetDialogEvent(GeneralWindowDialog.ButtonEventType.CLOSE, () =>
        {
        });

        dialog.Show();
    }
Esempio n. 2
0
    public void OnClickOpen()
    {
        GeneralWindowDialog dialog = GeneralWindowDialog.Create();

        dialog.SetGroupID(m_CurrentID);
        dialog.SetDialogEvent(GeneralWindowDialog.ButtonEventType.YES, () =>
        {
            Debug.Log("Send Yes");
        });
        dialog.SetDialogEvent(GeneralWindowDialog.ButtonEventType.NO, () =>
        {
            Debug.Log("Send No");
        });
        dialog.SetDialogEvent(GeneralWindowDialog.ButtonEventType.CLOSE, () =>
        {
            Debug.Log("Send Close");
        });

        dialog.Show();
    }