コード例 #1
0
 /// <summary>
 /// Sets the color for toolbar controls in the safe browsing component. The changes are ignored after `Show` method
 /// is called.
 ///
 /// This method only works on iOS. On Android, the controls color is determined by system to keep a reasonable
 /// contrast, based on the toolbar background color you provided in `SetToolbarColor`.
 /// </summary>
 /// <param name="color">The color to tint the controls on toolbar.</param>
 public void SetToolbarItemColor(Color color)
 {
     #if UNITY_IOS && !UNITY_EDITOR
     UniWebViewInterface.SafeBrowsingSetToolbarItemColor(listener.Name, color.r, color.g, color.b);
     #endif
 }