Yes! You can use 3D WebView to place multiple webviews in a single Unity scene. Here are some approaches you can take to achieve that:
- Drag multiple WebViewPrefab or CanvasWebViewPrefab instances into the scene and set their "Initial URL" properties via the editor. 3D WebView's SimpleWebViewDemo and CanvasWebViewDemo scenes demonstrate this approach
- Create multiple instances at runtime using
CanvasWebViewPrefab.Instantiate(). 3D WebView's AdvancedWebViewDemo demonstrates this approach.
On most platforms (Android, Windows, macOS), 3D WebView is able to handle multiple webviews efficiently without a loss of performance. On these platforms, the performance overhead of each additional webview is akin to opening a new browser tab. On iOS and Universal Windows Platform (UWP), 3D WebView is not as performant due to limitations of those platforms. As a result, creating additional webviews on iOS and UWP has a performance greater impact.