Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


backgroundColor

Sets the background color of the splash screen when no background image is used. The default background color is dark blue RGB(34.44,54).
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static Color backgroundColor { get; set; }

Remarks

On Android, use this property to set the background color for the static splash image. In this case, the selected background color blends with the static splash image based on the image transparency levels. Additionally, on Android Unity uses this color to hide the default automatic splash screen which appears on Android 12+ devices. This happens even if _background is being set. Therefore, make sure that this color is set to match _background image.