Пример #1
0
    public void SendWebViewMissive(string url)
    {
        WebViewMissive missive = new WebViewMissive();

        missive.url = url;
        Missive.Send(missive);
    }
 private void OnWebView(WebViewMissive missive)
 {
     // TODO needs #define
     if (missive.url != "")
     {
         gameUIGO.SetActive(false);
         ToggleFPSControl(false);
     }
     else
     {
         gameUIGO.SetActive(true);
         ToggleFPSControl(true);
     }
 }