# GetVirtualRealitySupported(BuildTargetGroup)

> Returns whether or not Virtual Reality Support is enabled for a given BuildTargetGroup.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

> **Warning:**
>
> **Deprecated.** This API is deprecated and will be removed prior to shipping 2020.2

```csharp
public static bool GetVirtualRealitySupported(BuildTargetGroup targetGroup)
```

### Parameters

**** (\[BuildTargetGroup]\(/engine/6000.0/script-reference/unityeditor/buildtargetgroup)): The BuildTargetGroup to return the value for.

### Returns

| Type                                                          | Description                                 |
| ------------------------------------------------------------- | ------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if Virtual Reality Support is enabled. |
