public void onDeleteLinkingFailure(string result) { Debug.Log("GamePotEventListener::onDeleteLinkFailure() - " + result); NError error = JsonMapper.ToObject <NError>(result); if (cbDeleteLinking != null) { cbDeleteLinking(false, error); cbDeleteLinking = null; } else { if (GamePotInterface != null) { GamePotInterface.onDeleteLinkingFailure(error); } } }