기술 자료

Unity Engine

Unity Engine

Show(Type)

Displays a set of windows that generate insets on screen.
읽는 시간 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); }}