Class ContentSelectionStep
Base abstract class for a selection IUgcBridgeStep. Provide ScriptableObject and base selection functionalities.
Inherited Members
Namespace: Unity.Services.Ugc.Bridge.Editor
Assembly: Unity.Services.Ugc.Bridge.Editor.dll
Syntax
public abstract class ContentSelectionStep : ScriptableObject
Properties
IsContentReady
Check if the source content is ready to be published.
Declaration
public virtual bool IsContentReady { get; }
Property Value
Type | Description |
---|---|
bool |
IsRepresentationReady
Check if the representation of the source content is ready to be published.
Declaration
public virtual bool IsRepresentationReady { get; }
Property Value
Type | Description |
---|---|
bool |
RepresentationContentFilePath
File path of the representation of the selected content for publishing.
Declaration
public virtual string RepresentationContentFilePath { get; protected set; }
Property Value
Type | Description |
---|---|
string |
RepresentationTags
List of tags that will be published alongside the content representation.
Declaration
public virtual List<string> RepresentationTags { get; protected set; }
Property Value
Type | Description |
---|---|
List<string> |
RequireRepresentation
Check to see if we need the representation to be built before publishing the content. Override it if the source content won't be used as-is at runtime.
Declaration
public virtual bool RequireRepresentation { get; }
Property Value
Type | Description |
---|---|
bool |
SourceContentFilePath
File path of the content selected for publishing.
Declaration
public virtual string SourceContentFilePath { get; protected set; }
Property Value
Type | Description |
---|---|
string |
Methods
Initialize()
Initialize the ContentSelectionStep asset. Override it for custom fields initialization.
Declaration
public virtual void Initialize()
OnFocus()
Called when the parent window is focused
Declaration
public virtual void OnFocus()
OnGUI()
Draw the GUI of the ContentSelectionStep asset.
Declaration
public abstract void OnGUI()