Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Field in
public LineMetadata lineMetadata;Property in
The default values of all declared or inferred variables in the . Organised by their name as written in the yarn files.
public Dictionary<string, System.IConvertible> InitialValues
{
get; }Field in
public Localization baseLocalization;Field in
public byte[] compiledYarnProgram;Property in
The names of all nodes contained within the .
public string[] NodeNames
{
get; }Method in
public Localization GetLocalization(string localeCode)string localeCode
Method in YarnProject
Gets the headers for the requested node.
public Dictionary<string, List<string>> GetHeaders(string nodeName)The first time this is called, the values are extracted from Program and cached inside Yarn.Unity.YarnProject.nodeHeaders . Future calls will then return the cached values.
string nodeName
Field in
public LocalizationType localizationType;Method in YarnProject
Returns a list of all line and option IDs within the requested nodes
public IEnumerable<string> GetLineIDsForNodes(IEnumerable<string> nodes)This is intended to be used either to precache multiple nodes worth of lines or for debugging
System.Collections.Generic.IEnumerable<string> nodes
The ids of all lines and options in the requested nodes
the names of all nodes whos line IDs you covet
Field in
public List<Localization> localizations = new List<Localization>();Class in Yarn.Unity
Inherits from UnityEngine.ScriptableObject
public class YarnProject : ScriptableObjectThe names of assemblies that ActionManager should look for commands and functions in when this project is loaded into a .
Gets the headers for the requested node.
Returns a list of all line and option IDs within the requested nodes
The default values of all declared or inferred variables in the . Organised by their name as written in the yarn files.
The names of all nodes contained within the .
Gets the Yarn Program stored in this project.
Property in
Gets the Yarn Program stored in this project.
The first time this is called, the program stored in is deserialized and cached. Future calls to this method will return the cached value.
public Program Program
{
get; }Field in
The names of assemblies that ActionManager should look for commands and functions in when this project is loaded into a .
public List<string> searchAssembliesForActions = new List<string>();