# SetMSAASamples(int)

> This has the same functionality as Screen.SetMSAASamples and also mimics platform-specific behavior in the Unity Editor.

## Definition

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

```csharp
public static void SetMSAASamples(int numSamples)
```

### Parameters

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