文档

Unity Engine

Unity Engine

Hide(Type)

Hides a set of windows that generate insets.
阅读时间1 分钟最后更新于 21 天前

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