> 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.5/api/csharp/yarn.unity/yarn.unity.yarnproject.md).

# YarnProject

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

Inherits from `UnityEngine.ScriptableObject`

## Summary

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

## Fields

| Name                                                                                                                                 | Description                                                                                                                                                                                           |
| ------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [baseLocalization](/2.5/api/csharp/yarn.unity/yarn.unity.yarnproject/yarn.unity.yarnproject.baselocalization.md)                     |                                                                                                                                                                                                       |
| [compiledYarnProgram](/2.5/api/csharp/yarn.unity/yarn.unity.yarnproject/yarn.unity.yarnproject.compiledyarnprogram.md)               |                                                                                                                                                                                                       |
| [lineMetadata](/2.5/api/csharp/yarn.unity/yarn.unity.yarnproject/yarn.unity.yarnproject.linemetadata.md)                             |                                                                                                                                                                                                       |
| [localizations](/2.5/api/csharp/yarn.unity/yarn.unity.yarnproject/yarn.unity.yarnproject.localizations.md)                           |                                                                                                                                                                                                       |
| [localizationType](/2.5/api/csharp/yarn.unity/yarn.unity.yarnproject/yarn.unity.yarnproject.localizationtype.md)                     |                                                                                                                                                                                                       |
| [searchAssembliesForActions](/2.5/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.5/api/csharp/yarn.unity/yarn.unity.dialoguerunner.md) . |

## Methods

| Name                                                                                                                              | Description                                                          |
| --------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------- |
| [GetHeaders(string)](/2.5/api/csharp/yarn.unity/yarn.unity.yarnproject/yarn.unity.yarnproject.getheaders.md)                      | Gets the headers for the requested node.                             |
| [GetLineIDsForNodes(IEnumerable)](/2.5/api/csharp/yarn.unity/yarn.unity.yarnproject/yarn.unity.yarnproject.getlineidsfornodes.md) | Returns a list of all line and option IDs within the requested nodes |
| [GetLocalization(string)](/2.5/api/csharp/yarn.unity/yarn.unity.yarnproject/yarn.unity.yarnproject.getlocalization.md)            |                                                                      |

## Properties

| Name                                                                                                       | Description                                                                                                                                                                                                            |
| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [InitialValues](/2.5/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.5/api/csharp/yarn.unity/yarn.unity.yarnproject/yarn.unity.yarnproject.program.md) . Organised by their name as written in the yarn files. |
| [NodeNames](/2.5/api/csharp/yarn.unity/yarn.unity.yarnproject/yarn.unity.yarnproject.nodenames.md)         | The names of all nodes contained within the [Program](/2.5/api/csharp/yarn.unity/yarn.unity.yarnproject/yarn.unity.yarnproject.program.md) .                                                                           |
| [Program](/2.5/api/csharp/yarn.unity/yarn.unity.yarnproject/yarn.unity.yarnproject.program.md)             | Gets the Yarn Program stored in this project.                                                                                                                                                                          |
