Hide(Type)
Hides a set of windows that generate insets.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Android
- Assembly: UnityEngine.AndroidJNIModule
public void Hide(AndroidWindowInsets.Type type)
Parameters
Remarks
Use this method to hide the system bars, allowing your application to use the available screen space when in full-screen mode.
Additional Resources: AndroidApplication.onWindowInsetsChanged, AndroidApplication.currentWindowInsets, Type.
Examples
using UnityEngine;using UnityEngine.Android;public class Controller : MonoBehaviour{ public void Start() { AndroidApplication.currentWindowInsets.Hide(AndroidWindowInsets.Type.NavigationBars | AndroidWindowInsets.Type.StatusBars); }}