# Show

> Displays a set of windows that generate insets on screen.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Android](/engine/6000.7/script-reference/unityengine/android.md)
* **Assembly:** UnityEngine.AndroidJNIModule

## Show(Type)

Displays a set of windows that generate insets on screen.

```csharp
public void Show(AndroidWindowInsets.Type type)
```

### Parameters

**** (\[Type]\(/engine/6000.7/script-reference/unityengine/android/androidwindowinsets/type)):&#x20;

### Remarks

Use this method to display the system bars, such as the status and navigation bars at runtime.

Additional Resources: [\_onWindowInsetsChanged](/engine/6000.7/script-reference/unityengine/android/androidapplication/onwindowinsetschanged.md), [\_currentWindowInsets](/engine/6000.7/script-reference/unityengine/android/androidapplication/currentwindowinsets.md), [Type](/engine/6000.7/script-reference/unityengine/android/androidwindowinsets/type.md)

### Examples

```csharp
using UnityEngine;
using UnityEngine.Android;

public class Controller : MonoBehaviour
{
    public void Start()
    {
        AndroidApplication.currentWindowInsets.Show(AndroidWindowInsets.Type.NavigationBars | AndroidWindowInsets.Type.StatusBars);
    }
}
```

## Show(Type, Type)

Shows the specified insets and sets the overlapping mask atomically in a single UI thread dispatch.

```csharp
public void Show(AndroidWindowInsets.Type type, AndroidWindowInsets.Type overlapping)
```

### Parameters

**** (\[Type]\(/engine/6000.7/script-reference/unityengine/android/androidwindowinsets/type)): The set of inset types to make visible in the application window.**** (\[Type]\(/engine/6000.7/script-reference/unityengine/android/androidwindowinsets/type)): The complete set of inset types that should overlap with the application window.

### Remarks

The `overlapping` parameter replaces the entire overlapping mask, it does not accumulate with previous values. For example, calling `Show(StatusBars, StatusBars)` followed by `Show(NavigationBars, NavigationBars)` leaves only NavigationBars as overlapping.

### Examples

```csharp
using UnityEngine;
using UnityEngine.Android;

public class Controller : MonoBehaviour
{
    public void Start()
    {
        // Show both bars and make them overlap with the application windw.
        AndroidApplication.currentWindowInsets.Show(
            AndroidWindowInsets.Type.StatusBars | AndroidWindowInsets.Type.NavigationBars,
            AndroidWindowInsets.Type.StatusBars | AndroidWindowInsets.Type.NavigationBars);
    }
}
```
