ドキュメント

Unity Engine

Unity Engine

GetSystemBarsBackground()

Returns the current system bars background setting.
読み終わるまでの所要時間 1 分最終更新 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); }}