Skip to main content

BuildPipelinePathData

A class in Root.Township, the global namespace.

Editor build helper that stores the output folders for Windows, Linux and Android builds in a temporary asset. Its loading code is stripped in the game build, so it isn't usable at runtime.

Constructors​

MemberWhat it is
BuildPipelinePathData()Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets.

Fields​

7 private and internal fields
MemberWhat it is
private string androidPathBacking field for AndroidPath.
private static BuildPipelinePathData dataThe loaded data asset. Never set in this build.
private const string extensionAsset file extension, .asset.
private const string fileNameAsset file name, BuildPathData.
private const string filePathAsset folder, Assets/Temporary/BuildPath.
private string linuxPathBacking field for LinuxPath.
private string windowsPathBacking field for WindowsPath.

Properties​

MemberWhat it is
static string AndroidPath { get; set; }Android build output folder.
static string LinuxPath { get; set; }Linux build output folder.
static string WindowsPath { get; set; }Windows build output folder.

Methods​

2 private and internal methods
MemberWhat it is
private static void EnsureData()Loads or creates the data asset in the editor. Empty in this build.
private void MarkDirty()Marks the asset as changed in the editor. Empty in this build.