# WriteGameManagersSerializedFile(string, WriteManagerParameters)

> Writes the current settings of internal Unity game manager classes to the 'globalgamemanagers' file on disk.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Build.Content](/engine/6000.5/script-reference/unityeditor/build/content.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public static WriteResult WriteGameManagersSerializedFile(string outputFolder, WriteManagerParameters parameters)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The location to write the file to.**** (\[WriteManagerParameters]\(/engine/6000.5/script-reference/unityeditor/build/content/writemanagerparameters)): The set of parameters used to write the file.

### Returns

| Type                                                                                    | Description                                 |
| --------------------------------------------------------------------------------------- | ------------------------------------------- |
| [WriteResult](/engine/6000.5/script-reference/unityeditor/build/content/writeresult.md) | The detailed results from writing the file. |

### Remarks

Internal use only. See note on [ContentBuildInterface](/engine/6000.5/script-reference/unityeditor/build/content/contentbuildinterface.md).
