# GetFiles()

> Returns an array of all the files output by the build process.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Build.Reporting](/engine/6000.6/script-reference/unityeditor/build/reporting.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public BuildFile[] GetFiles()
```

### Returns

| Type                                                                                      | Description                                            |
| ----------------------------------------------------------------------------------------- | ------------------------------------------------------ |
| [BuildFile\[\]](/engine/6000.6/script-reference/unityeditor/build/reporting/buildfile.md) | An array of all the files output by the build process. |

### Remarks

Contains every file the build wrote, including the files packed inside Unity archive files. The returned array is a copy and this method execution length scales linearly with number of files.
