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