API Referenceglobal
PublishSettingsclass
This is data that is saved in an asset's meta file under "publish" to configure its project for uploading.
object→PublishSettings
Constructors1
Showing 1 constructors
public PublishSettings()
No results match this filter.
Methods3
Showing 3 methods
public Sandbox.ResourcePublishContext BuildPublishContext()
Ask the resource how it wants to be published (eg. whether its code should be bundled).
public Sandbox.Project CreateTemporaryProject()
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.
public void Save()
Returns:
void—No results match this filter.
Properties2
Showing 2 properties
public bool Editor.Asset.PublishSettings.Enabled { get; set; }
Whether the asset should be published or not.
Returns:
bool—public Sandbox.DataModel.ProjectConfig Editor.Asset.PublishSettings.ProjectConfig { get; set; }
Project configuration information
No results match this filter.