Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Hide(Type)

Hides a set of windows that generate insets.
Read time 1 minuteLast updated 6 days ago

Definition

public void Hide(AndroidWindowInsets.Type type)

Parameters

type

Remarks

Use this method to hide the system bars, allowing your application to use the available screen space when in full-screen mode.

Examples

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