Class ContentPublishingInfo
Data class to transport all information across the content publishing process for the content being published in the publishing window.
Inherited Members
Namespace: Unity.Services.Ugc.Bridge.Editor
Assembly: Unity.Services.Ugc.Bridge.Editor.dll
Syntax
public class ContentPublishingInfo
Fields
k_ContentDescriptionMaxCharactersLimit
The maximum number of characters allowed for the content description.
Declaration
public const int k_ContentDescriptionMaxCharactersLimit = 1024
Field Value
Type | Description |
---|---|
int |
k_ContentNameMaxCharactersLimit
The maximum number of characters allowed for the content name.
Declaration
public const int k_ContentNameMaxCharactersLimit = 100
Field Value
Type | Description |
---|---|
int |
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
Type | Description |
---|---|
int |
Description
The description of the content being published in the publishing window.
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
IsContentPublishingInfoValid
Indicate if the information are validated for publishing, such as characters limits for name and description.
Declaration
public bool IsContentPublishingInfoValid { get; }
Property Value
Type | Description |
---|---|
bool |
IsNewContent
Indicate if it will be published as a new content or overriding an existing one.
Declaration
public bool IsNewContent { get; }
Property Value
Type | Description |
---|---|
bool |
LabelToggles
The labels of the content being published in the publishing window.
Declaration
public LabelToggle[] LabelToggles { get; set; }
Property Value
Type | Description |
---|---|
LabelToggle[] |
MetadataUpdate
Flag indicating if metadata is updated
Declaration
public ContentPublishingInfo.MetadataUpdateType MetadataUpdate { get; set; }
Property Value
Type | Description |
---|---|
ContentPublishingInfo.MetadataUpdateType |
Name
The name of the content being published in the publishing window.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
ShouldUploadThumbnail
Should the publishing process also upload a thumbnail.
Declaration
public bool ShouldUploadThumbnail { get; set; }
Property Value
Type | Description |
---|---|
bool |