-
Notifications
You must be signed in to change notification settings - Fork 1
Android platform specific customization
githubcatw edited this page Feb 16, 2023
·
4 revisions
This page lists platform specific customization options for Android.
Sets the color of a browser window's toolbar (usually the place where the page's title or URL is shown).
Accepts a Unity Color.
To make the custom tab red:
// Assuming androidConfig is a BWAndroidConfig
androidConfig.SetColor(Color.red);To set the same color as the main camera's background (useful in UI apps):
var cam = Camera.main;
if (cam != null) {
androidConfig.SetColor(cam.backgroundColor);
}A more complete example can be found in the sample scene: OpenColored()