-
Notifications
You must be signed in to change notification settings - Fork 457
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unity Feature Request: expose AddScriptToExecuteOnDocumentCreatedAsync #197
Comments
@michaelfarnsworth @SamiraAtMicrosoft @JordanMandel Does the Unity WebView2 expose the underlying CoreWebView2? I wasn't able to find it if it does. We expose that as a property on the other controls like .NET, so I think it might make sense on the Unity control as well if possible. |
@champnic we don't currently expose the underlying WebView2 control via the C#, but we've discussed it. I'll revive the topic with the team and see if we can make a plan for this. |
I would like the ability to inject new globals into webpages I load into the WebView. It appears that CoreWebView2 has such an API at the C++ level: AddScriptToExecuteOnDocumentCreatedAsync. It would be nice if this method were somehow exposed at the C# level in Unity.
The text was updated successfully, but these errors were encountered: