Class UgcBridgeUtilities
Inheritance
UgcBridgeUtilities
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
Returns
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
Returns
FindOrCreateSettings()
Declaration
public static UgcBridgeSettingsAsset FindOrCreateSettings()
Returns
GetAssetBundleFileName(Object)
Declaration
public static string GetAssetBundleFileName(Object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
GetContentTypesOptions()
Declaration
public static string[] GetContentTypesOptions()
Returns
GetOrCreateRepresentation(ContentSelectionStep, Content, bool)
Declaration
public static Task<Representation> GetOrCreateRepresentation(ContentSelectionStep contentSelectionStep, Content content, bool skipSearch = true)
Parameters
Returns
GetOwnedContent()
Fetch all contents owned by the current logged user.
Declaration
public static Task<List<Content>> GetOwnedContent()
Returns
GetProjectUgcLabelToggles()
Fetch the tags from the project and build a LabelToggle array from it.
Declaration
public static Task<LabelToggle[]> GetProjectUgcLabelToggles()
Returns
IsContentAssetBundleBuilt(string, string)
Declaration
public static bool IsContentAssetBundleBuilt(string filename, string outputFolderPath)
Parameters
Type |
Name |
Description |
string |
filename |
|
string |
outputFolderPath |
|
Returns