기술 자료

Unity Engine

Unity Engine

GetSystemBarsBackground()

Returns the current system bars background setting.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public AndroidWindowInsets.SystemBarsBackground GetSystemBarsBackground()

Returns

Remarks

Returns whether the system bars currently have an opaque or transparent background. Use
Transparent
when insets are overlapping with the application window to allow game content to show through the system bars.

Examples

using UnityEngine;using UnityEngine.Android;public class Controller : MonoBehaviour{ public void Start() { var bg = AndroidApplication.currentWindowInsets.GetSystemBarsBackground(); Debug.Log("System bars background: " + bg); }}