docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class UgcBridgeUtilities

    Inheritance
    object
    UgcBridgeUtilities
    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 static class UgcBridgeUtilities

    Methods

    AddRepresentationVersion(ContentSelectionStep, Content, Representation)

    Declaration
    public static Task<Representation> AddRepresentationVersion(ContentSelectionStep contentSelectionStep, Content content, Representation representation)
    Parameters
    Type Name Description
    ContentSelectionStep contentSelectionStep
    Content content
    Representation representation
    Returns
    Type Description
    Task<Representation>

    BuildContentAsset(Object, string)

    Build a content into Unity runtime format.

    Declaration
    public static void BuildContentAsset(Object obj, string outputFolderPath)
    Parameters
    Type Name Description
    Object obj

    The content to build

    string outputFolderPath

    The filename where the asset bundle will be built

    CreateUnityPackage(string, string)

    Declaration
    public static string CreateUnityPackage(string assetFilePath, string fileName = "TempUnityPackage")
    Parameters
    Type Name Description
    string assetFilePath
    string fileName
    Returns
    Type Description
    string

    FindOrCreateSettings()

    Declaration
    public static UgcBridgeSettingsAsset FindOrCreateSettings()
    Returns
    Type Description
    UgcBridgeSettingsAsset

    GetAssetBundleFileName(Object)

    Declaration
    public static string GetAssetBundleFileName(Object obj)
    Parameters
    Type Name Description
    Object obj
    Returns
    Type Description
    string

    GetContentTypesOptions()

    Declaration
    public static string[] GetContentTypesOptions()
    Returns
    Type Description
    string[]

    GetOrCreateRepresentation(ContentSelectionStep, Content, bool)

    Declaration
    public static Task<Representation> GetOrCreateRepresentation(ContentSelectionStep contentSelectionStep, Content content, bool skipSearch = true)
    Parameters
    Type Name Description
    ContentSelectionStep contentSelectionStep
    Content content
    bool skipSearch
    Returns
    Type Description
    Task<Representation>

    GetOwnedContent()

    Fetch all contents owned by the current logged user.

    Declaration
    public static Task<List<Content>> GetOwnedContent()
    Returns
    Type Description
    Task<List<Content>>

    A Content list of all the user published contents

    GetProjectUgcLabelToggles()

    Fetch the tags from the project and build a LabelToggle array from it.

    Declaration
    public static Task<LabelToggle[]> GetProjectUgcLabelToggles()
    Returns
    Type Description
    Task<LabelToggle[]>

    A LabelToggle array of all the project tags

    IsContentAssetBundleBuilt(string, string)

    Declaration
    public static bool IsContentAssetBundleBuilt(string filename, string outputFolderPath)
    Parameters
    Type Name Description
    string filename
    string outputFolderPath
    Returns
    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)