Class ContentPublishingInfo
Data class to transport all information across the content publishing process
for the content being published in the publishing window.
Inheritance
ContentPublishingInfo
Assembly: Unity.Services.Ugc.Bridge.Editor.dll
Syntax
public class ContentPublishingInfo
Fields
k_ContentDescriptionMaxCharactersLimit
Declaration
public const int k_ContentDescriptionMaxCharactersLimit = 1024
Field Value
k_ContentNameMaxCharactersLimit
Declaration
public const int k_ContentNameMaxCharactersLimit = 100
Field Value
Properties
ContentIdIndex
The index of the content id in the content id list. Used by the dropdown menu of the publishing window.
Declaration
public int ContentIdIndex { get; set; }
Property Value
Description
The description of the content being published in the publishing window.
Declaration
public string Description { get; set; }
Property Value
IsContentPublishingInfoValid
Indicate if the information are validated for publishing, such as characters limits for name and description.
Declaration
public bool IsContentPublishingInfoValid { get; }
Property Value
IsNewContent
Indicate if it will be published as a new content or overriding an existing one.
Declaration
public bool IsNewContent { get; }
Property Value
LabelToggles
The labels of the content being published in the publishing window.
Declaration
public LabelToggle[] LabelToggles { get; set; }
Property Value
MetadataUpdate
Flag indicating if metadata is updated
Declaration
public ContentPublishingInfo.MetadataUpdateType MetadataUpdate { get; set; }
Property Value
Name
The name of the content being published in the publishing window.
Declaration
public string Name { get; set; }
Property Value
ShouldUploadThumbnail
Should the publishing process also upload a thumbnail.
Declaration
public bool ShouldUploadThumbnail { get; set; }
Property Value