> For the complete documentation index, see [llms.txt](https://docs.yarnspinner.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yarnspinner.dev/2.3/api/csharp/yarn.unity/yarn.unity.yarnproject.md).

# YarnProject

Class in [Yarn.Unity](/2.3/api/csharp/yarn.unity.md)

Inherits from `UnityEngine.ScriptableObject`

## Summary

```csharp
public class YarnProject : ScriptableObject
```

## Fields

| Name                                                                                                                                 | Description                                                                                                                                                                                           |
| ------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [baseLocalization](/2.3/api/csharp/yarn.unity/yarn.unity.yarnproject/yarn.unity.yarnproject.baselocalization.md)                     |                                                                                                                                                                                                       |
| [compiledYarnProgram](/2.3/api/csharp/yarn.unity/yarn.unity.yarnproject/yarn.unity.yarnproject.compiledyarnprogram.md)               |                                                                                                                                                                                                       |
| [lineMetadata](/2.3/api/csharp/yarn.unity/yarn.unity.yarnproject/yarn.unity.yarnproject.linemetadata.md)                             |                                                                                                                                                                                                       |
| [localizations](/2.3/api/csharp/yarn.unity/yarn.unity.yarnproject/yarn.unity.yarnproject.localizations.md)                           |                                                                                                                                                                                                       |
| [localizationType](/2.3/api/csharp/yarn.unity/yarn.unity.yarnproject/yarn.unity.yarnproject.localizationtype.md)                     |                                                                                                                                                                                                       |
| [searchAssembliesForActions](/2.3/api/csharp/yarn.unity/yarn.unity.yarnproject/yarn.unity.yarnproject.searchassembliesforactions.md) | The names of assemblies that `ActionManager` should look for commands and functions in when this project is loaded into a [DialogueRunner](/2.3/api/csharp/yarn.unity/yarn.unity.dialoguerunner.md) . |

## Methods

| Name                                                                                                                   | Description                                   |
| ---------------------------------------------------------------------------------------------------------------------- | --------------------------------------------- |
| [GetHeaders(string)](/2.3/api/csharp/yarn.unity/yarn.unity.yarnproject/yarn.unity.yarnproject.getheaders.md)           | Gets the headers for the requested node.      |
| [GetLocalization(string)](/2.3/api/csharp/yarn.unity/yarn.unity.yarnproject/yarn.unity.yarnproject.getlocalization.md) |                                               |
| [GetProgram()](/2.3/api/csharp/yarn.unity/yarn.unity.yarnproject/yarn.unity.yarnproject.getprogram.md)                 | Gets the Yarn Program stored in this project. |

## Properties

| Name                                                                                                       | Description                                                                                                                                                                                                            |
| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [InitialValues](/2.3/api/csharp/yarn.unity/yarn.unity.yarnproject/yarn.unity.yarnproject.initialvalues.md) | The default values of all declared or inferred variables in the [Program](/2.3/api/csharp/yarn.unity/yarn.unity.yarnproject/yarn.unity.yarnproject.program.md) . Organised by their name as written in the yarn files. |
| [NodeNames](/2.3/api/csharp/yarn.unity/yarn.unity.yarnproject/yarn.unity.yarnproject.nodenames.md)         | The names of all nodes contained within the [Program](/2.3/api/csharp/yarn.unity/yarn.unity.yarnproject/yarn.unity.yarnproject.program.md) .                                                                           |
| [Program](/2.3/api/csharp/yarn.unity/yarn.unity.yarnproject/yarn.unity.yarnproject.program.md)             | Gets the Yarn Program stored in this project.                                                                                                                                                                          |
