# SetSpatializerPluginName(string)

> Sets the spatializer plugin for all platform groups. If a null or empty string is passed in, the existing spatializer plugin will be cleared.

## Definition

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

```csharp
public static void SetSpatializerPluginName(string pluginName)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The spatializer plugin name.

### Remarks

This is an Editor-only function. This function will throw an argument exception on an invalid plugin name.
