Controls whether system bars have an opaque or transparent background.
Use this property to configure the system bars background behavior at build time. Set to Transparent when insets are overlapping with the application window to allow game content to show through the system bars.
Note: Only supported on Android 11 (API 30) and later. Has no effect on Android 10 (API 29) or earlier versions.
using UnityEditor;
public class ApplySystemBarsBackground { public static void Setup() { // Make system bars transparent for edge-to-edge rendering. PlayerSettings.Android.systemBarsBackground = AndroidSystemBarsBackground.Transparent; } }