Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Show(Type)

Displays a set of windows that generate insets on screen.
Read time 1 minuteLast updated 7 days ago

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); }}