public void onCouponSuccess(string result) { Debug.Log("GamePotEventListener::onCouponSuccess() " + result); if (cbCoupon != null) { cbCoupon(true); cbCoupon = null; } else { if (GamePotInterface != null) { GamePotInterface.onCouponSuccess(); } } }