Defines the behavior of system bars in your application.
Use this property to specify how the system bars, such as the status and navigation bars, respond to system gestures in your application.
Note: Only supported on Android 11 (API 30) and later. Has no effect on Android 10 (API 29) or earlier versions.
The following code example demonstrates how to configure the system bars to display temporarily when swiping from the screen edges.
using UnityEditor;
public class ApplySystemBarsBehavior { public static void Setup() { PlayerSettings.Android.systemBarsBehavior = AndroidSystemBarsBehavior.ShowTransientBarsBySwipe; } }