Skip to content

Commit

Permalink
updated SampleWebView.cs about SetCameraAccess/SetMicrophoneAccess.
Browse files Browse the repository at this point in the history
  • Loading branch information
KojiNakamaru committed Aug 21, 2021
1 parent 19958c3 commit 3ec19e9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sample/Assets/Scripts/SampleWebView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,10 @@ IEnumerator Start()
// Added alertDialogEnabled flag to enable/disable alert/confirm/prompt dialogs. by KojiNakamaru · Pull Request #512 · gree/unity-webview
//webViewObject.SetAlertDialogEnabled(false);

// cf. https://github.com/gree/unity-webview/pull/728
//webViewObject.SetCameraAccess(true);
//webViewObject.SetMicrophoneAccess(true);

// cf. https://github.com/gree/unity-webview/pull/550
// introduced SetURLPattern(..., hookPattern). by KojiNakamaru · Pull Request #550 · gree/unity-webview
//webViewObject.SetURLPattern("", "^https://.*youtube.com", "^https://.*google.com");
Expand Down

0 comments on commit 3ec19e9

Please sign in to comment.