Pardon our dust! Docs for Yarn Spinner for Unity 3.2 and Yarn Spinner for Godot C# are on docs.yarnspinner.dev (the old docs site). Docs for Yarn Spinner for Unity 3.3 (pre-release, out ASAP), Yarn Spinner for Godot GDScript and Yarn Spinner for Unreal Engine (work in progress) are on /docs/ (the new docs site).

UpgradeResult.OutputFile

A file generated as part of an upgrade.
public struct OutputFile

Inherits from System.ValueType

#Fields

#Diagnostics

The diagnostics produced for this file as a result of the upgrade process.
public IEnumerable<Diagnostic> Diagnostics;

Type IEnumerable

#IsNewFile

Indicates whether this OutputFile represents a new file to be created. If this is true, OriginalSource will be the empty string, and Replacements will be empty.
public bool IsNewFile;

Type Boolean

#OriginalSource

The original text of the file, prior to upgrades.
public string OriginalSource;

Type String

#Path

The path of the file.
public string Path;

Type String

#Replacements

The list of replacements needed to be made in order to go from OriginalSource to UpgradedSource.
public IEnumerable<TextReplacement> Replacements;

Type IEnumerable

#Properties

#UpgradedSource

The upgraded text of the file.
public readonly string UpgradedSource { get }

Type String

Generated from Yarn Spinner for Unity 3.3.