PublishSettingsclass

This is data that is saved in an asset's meta file under "publish" to configure its project for uploading.

object→PublishSettings
Namespace
global
Assembly
Sandbox.Tools
Declaration
public class Editor.Asset.PublishSettings

Constructors1

Showing 1 constructors

Methods3

Showing 3 methods

public Sandbox.Project CreateTemporaryProject(System.IO.DirectoryInfo rootDirectory = null)PUBLIC

Create a Project usually with the intention of editing and publishing a single asset. The project isn't stored or listed anywhere, so is considered a transient that you can load up, edit, save and then throw away.

ParameterTypeDescription
rootDirectory = nullDirectoryInfoWhere the project's code comes from, if it's bundling any.
Returns:Project—

public void Save()PUBLIC

Returns:void—

Properties2

Showing 2 properties

public bool Editor.Asset.PublishSettings.Enabled { get; set; }PUBLICGETSET

Whether the asset should be published or not.

Returns:bool—

On this page