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