CompilationJob.File
Represents the contents of a file to compile.
public class File : ISourceInputInherits from System.Object
Implements Yarn.Compiler.ISourceInput
#Constructors
#File(string)
Creates a new File from a path, either from an absolute or relative path.
public File(string path)Parameters
pathstringThe path to the file. Is mapped to Path property.
#Fields
#Source
The source code of this file.
public string Source = string.Empty;Type String
#Properties
#Name
The name of the input.
Must be unique across the entire list of all inputs.
public string Name { get }Type String
#Path
The path of the file
public string Path { get; set; }Type String
This can be a relative or absolute path provided other pieces of the pipeline can manage to process it for diagnostic and debug purposes
Generated from Yarn Spinner for Unity 3.3.