PublishSettingsclass

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

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

Constructors1

Showing 1 constructors

Methods3

Showing 3 methods

public Sandbox.Project CreateTemporaryProject()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.

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