/// <summary> /// Set the background color of webview. /// </summary> /// <description> /// Set the background color of the webview. In iOS, it will only take in action when the web page has no background color from css. /// There is no way to set Windows Phone 8, so this method will do noting on Windows Phone. /// And in OSX Editor, it is limited and can be only used to set white or clear background. /// </description> public void SetBackgroundColor(Color color) { UniWebViewPlugin.SetBackgroundColor(gameObject.name, color.r, color.g, color.b, color.a); }
public void SetBackgroundColor(Color color) { UniWebViewPlugin.SetBackgroundColor(((Object)((Component)this).get_gameObject()).get_name(), (float)color.r, (float)color.g, (float)color.b, (float)color.a); }