How can I hide scrollbars?

Want to make scrollbars disappear? Although 3D WebView doesn't have a method specifically for hiding scrollbars, you can add a script to IWebView.PageLoadScripts that adds CSS to hide scrollbars, like this:

await webViewPrefab.WaitUntilInitialized();
webViewPrefab.WebView.PageLoadScripts.Add(@"
    var styleElement = document.createElement('style');
    styleElement.innerText = 'body::-webkit-scrollbar { display: none; }';
    document.head.appendChild(styleElement);
");