コード例 #1
0
 /// <summary>
 /// Sets the color for toolbar background in the safe browsing component. The changes are ignored after `Show`
 /// method is called.
 /// </summary>
 /// <param name="color">The color to tint the toolbar.</param>
 public void SetToolbarColor(Color color)
 {
     if (!UniWebViewHelper.IsEditor)
     {
         UniWebViewInterface.SafeBrowsingSetToolbarColor(listener.Name, color.r, color.g, color.b);
     }
 }