# role

> The role the file plays in the build output.

## Definition

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

```csharp
public readonly string role { get; }
```

### Remarks

Use this field to understand what purpose a file serves within the built player. Common roles for files are captured by the members of the [CommonRoles](/engine/6000.7/script-reference/unityeditor/build/reporting/commonroles.md) class.
