# ExternalFileReference

> Desribes an externally referenced file. This is returned as part of the WriteResult when writing a serialized file.

## Definition

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

```csharp
public struct ExternalFileReference
```

## Properties

| Property                                                                                                | Description                                                                                                                                                                           |
| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [filePath](/engine/6000.7/script-reference/unityeditor/build/content/externalfilereference/filepath.md) | The path of the file that is referenced.                                                                                                                                              |
| [guid](/engine/6000.7/script-reference/unityeditor/build/content/externalfilereference/guid.md)         | A GUID that represents the file being referenced. This GUID might be used to locate default editor resources, but generally pathName is used to identify externally referenced files. |
| [type](/engine/6000.7/script-reference/unityeditor/build/content/externalfilereference/type.md)         | The lookup resolution index for the GUID field in the editor. This is used in conjunction with the GUID internally and should not be modified.                                        |
