# Quit

> This has the same functionality as Application.Quit. At the moment, the Device Simulator doesn't support simulation of this method.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Device](/engine/6000.5/script-reference/unityengine/device.md)
* **Assembly:** UnityEngine.CoreModule

## Quit()

This has the same functionality as [Application.Quit](/engine/6000.5/script-reference/unityengine/application/quit.md). At the moment, the Device Simulator doesn't support simulation of this method.

```csharp
public static void Quit()
```

## Quit(int)

This has the same functionality as [Application.Quit](/engine/6000.5/script-reference/unityengine/application/quit.md). At the moment, the Device Simulator doesn't support simulation of this method.

```csharp
public static void Quit(int exitCode)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)):&#x20;
