Skip to content
Snippets Groups Projects
Verified Commit fe472554 authored by Björn Eßwein's avatar Björn Eßwein
Browse files

Updated WebViewController to use Get_DataPath() instead of Application.dataPath

parent 352a3d86
Branches
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ private void Awake()
Debug.LogWarning("awake Webview Controller");
webViewComponent = GetComponent<WebViewComponent>();
WebViewComponent.serializerSettings.Converters.Add(new FactObjectUIConverter());
webViewComponent.targetUrl = Path.Join(Application.dataPath, "scrollView.html");
webViewComponent.targetUrl = Path.Join(CommunicationEvents.Get_DataPath(), "scrollView.html");
// TODO: handle webViewComponent.onDomDocumentUpdated
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment