Class UgcBridgeSettingsAsset
The settings asset for the UGC Bridge
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.Services.Ugc.Bridge.Editor
Assembly: Unity.Services.Ugc.Bridge.Editor.dll
Syntax
public class UgcBridgeSettingsAsset : ScriptableObject
Fields
settingsAssetPath
The path to the settings asset
Declaration
public const string settingsAssetPath = "Assets/UgcTemplate/UgcBridgeSettings.asset"
Field Value
Type | Description |
---|---|
string |
Properties
ContentTypes
The content types of the Unity project
Declaration
public ContentType[] ContentTypes { get; set; }
Property Value
Type | Description |
---|---|
ContentType[] |
CurrentContentType
The current content type of the Unity project
Declaration
public ContentType CurrentContentType { get; }
Property Value
Type | Description |
---|---|
ContentType |
CurrentContentTypeIndex
The current content type index of the Unity project
Declaration
public int CurrentContentTypeIndex { get; set; }
Property Value
Type | Description |
---|---|
int |
Environment
The environment of the Unity project
Declaration
public string Environment { get; set; }
Property Value
Type | Description |
---|---|
string |
ProjectId
The project id of the Unity project
Declaration
public string ProjectId { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
CreateNewContentType()
Creates a new content type
Declaration
public void CreateNewContentType()
DeleteContentType(int)
Deletes a content type
Declaration
public void DeleteContentType(int index)
Parameters
Type | Name | Description |
---|---|---|
int | index | The index of the content type to delete |
SaveProjectSettings()
Saves the project settings
Declaration
public void SaveProjectSettings()
Events
ProjectSettingsUpdate
The action called when the project settings are updated
Declaration
public event Action ProjectSettingsUpdate
Event Type
Type | Description |
---|---|
Action |