ドキュメント

Unity Engine

Unity Engine

Show(Type)

Displays a set of windows that generate insets on screen.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public void Show(AndroidWindowInsets.Type type)

Parameters

type

Remarks

Use this method to display the system bars, such as the status and navigation bars at runtime.
The following code example demonstrates how to display both the status and navigation bars at runtime.

Examples

using UnityEngine;using UnityEngine.Android;public class Controller : MonoBehaviour{ public void Start() { AndroidApplication.currentWindowInsets.Show(AndroidWindowInsets.Type.NavigationBars | AndroidWindowInsets.Type.StatusBars); }}