コード例 #1
0
    void OnHTML_StartRequest(HTML_StartRequest_t pCallback)
    {
        Debug.Log("[" + HTML_StartRequest_t.k_iCallback + " - HTML_StartRequest] - " + pCallback.unBrowserHandle + " -- " + pCallback.pchURL + " -- " + pCallback.pchTarget + " -- " + pCallback.pchPostData + " -- " + pCallback.bIsRedirect);

        SteamHTMLSurface.AllowStartRequest(pCallback.unBrowserHandle, true);
        print("SteamHTMLSurface.AllowStartRequest(pCallback.unBrowserHandle, true)");
    }
コード例 #2
0
        public static void OnStartRequest(HTML_StartRequest_t pParam)
        {
            Console.WriteLine("Browser request initiated.");

            SteamHTMLSurface.AllowStartRequest(Browser, true);
        }