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