Hides a set of windows that generate insets.
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.
using UnityEngine; using UnityEngine.Android;
public class Controller : MonoBehaviour { public void Start() { AndroidApplication.currentWindowInsets.Hide(AndroidWindowInsets.Type.NavigationBars | AndroidWindowInsets.Type.StatusBars); } }