Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
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.
public class YarnProject : ScriptableObjectThe names of assemblies that ActionManager should look for commands and functions in when this project is loaded into a DialogueRunner .
Property in YarnProject
Gets the Yarn Program stored in this project.
public Program Program
{
get; }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 Dictionary<string, System.IConvertible> InitialValues
{
get; }Method in YarnProject
public Localization GetLocalization(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 and cached inside Yarn.Unity.YarnProject.nodeHeaders . Future calls will then return the cached values.
string localeCode
string nodeName
public List<string> searchAssembliesForActions = new List<string>();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
The ids of all lines and options in the requested nodes
System.Collections.Generic.IEnumerable<string> nodes
the names of all nodes whos line IDs you covet
Property in YarnProject
The names of all nodes contained within the Program .
public string[] NodeNames
{
get; }