docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ContentPublishingInfo

    Data class to transport all information across the content publishing process for the content being published in the publishing window.

    Inheritance
    object
    ContentPublishingInfo
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Services.Ugc.Bridge.Editor
    Assembly: Unity.Services.Ugc.Bridge.Editor.dll
    Syntax
    public class ContentPublishingInfo

    Fields

    k_ContentDescriptionMaxCharactersLimit

    Declaration
    public const int k_ContentDescriptionMaxCharactersLimit = 1024
    Field Value
    Type Description
    int

    k_ContentNameMaxCharactersLimit

    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
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)