# SetVirtualRealitySupported(BuildTargetGroup, bool)

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

## Definition

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

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

```csharp
public static void SetVirtualRealitySupported(BuildTargetGroup targetGroup, bool value)
```

### Parameters

**** (\[BuildTargetGroup]\(/engine/6000.3/script-reference/unityeditor/buildtargetgroup)): The BuildTargetGroup to set the value for.**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): The value to set, true to enable, false to disable.
