Пример #1
0
    public void onAgreeDialogSuccess(string result)
    {
        Debug.Log("GamePotEventListener::onAgreeDialogSuccess() - " + result);
        NAgreeResultInfo resultInfo = JsonMapper.ToObject <NAgreeResultInfo>(result);

        if (cbShowAgree != null)
        {
            cbShowAgree(true, resultInfo);
            cbShowAgree = null;
        }
        else
        {
            if (GamePotInterface != null)
            {
                GamePotInterface.onAgreeDialogSuccess(resultInfo);
            }
        }
    }