Interface IPublisher
Publisher interface
Namespace: Unity.Industrial.Forma.Editor.UI.Components
Syntax
[MovedFrom(true, "UnityEditor.Industrial.Configuring.UI", "Unity.Industrial.Configurator.Editor", null)]
public interface IPublisher
Properties
displayName
The Publisher's name
Declaration
string displayName { get; }
Property Value
| Type | Description |
|---|---|
| String |
selected
Indicates if the Publisher is selected for publishing
Declaration
bool selected { get; set; }
Property Value
| Type | Description |
|---|---|
| Boolean |
Methods
AddSettings(VisualElement)
Build target custom UI settings.
Declaration
void AddSettings(VisualElement settings)
Parameters
| Type | Name | Description |
|---|---|---|
| VisualElement | settings |
CanPublish()
Check if the Publish can publish.
Declaration
bool CanPublish()
Returns
| Type | Description |
|---|---|
| Boolean |
Initialize(BuildProfile)
Initialize the build target with current build profile.
Declaration
void Initialize(BuildProfile buildProfile)
Parameters
| Type | Name | Description |
|---|---|---|
| BuildProfile | buildProfile |
PreBuild(Configurator)
Called before Build() and uses the configurator from the "Configurator Scenes" listed in the build profile. This can be useful if you need to tell the configurator where to load its products.
Declaration
void PreBuild(Configurator configurator)
Parameters
| Type | Name | Description |
|---|---|---|
| Configurator | configurator |
Publish()
Publish to user-defined content holder.
Declaration
bool Publish()
Returns
| Type | Description |
|---|---|
| Boolean |