Class UIResourceProvider
Class UIResourceProvider. Used with the UGUI runtime UI.
Inherited Members
Namespace: Unity.Industrial.Forma.RuntimeUI
Syntax
[MovedFrom(true, "UnityEngine.Industrial.Configuring.RuntimeUI", "Unity.Industrial.Configurator", null)]
[CreateAssetMenu(menuName = "Forma/Runtime UI/UI Resource Provider", fileName = "UIResourceProvider", order = 2)]
public class UIResourceProvider : ScriptableObject, IResourceProvider
Fields
k_StandardUIResourceProviderPath
Default UIResourceProvider instance
Declaration
public const string k_StandardUIResourceProviderPath = "Packages/com.unity.industrial.forma/RuntimeUI/FormaResources/StandardUIResourceProvider.asset"
Field Value
Type | Description |
---|---|
String |
Properties
canvasPrefab
Gets or sets the canvas prefab.
Declaration
public GameObject canvasPrefab { get; set; }
Property Value
Type | Description |
---|---|
GameObject | The canvas prefab. |
conflictResolutionWindowPrefab
Gets or sets the conflict resolution window prefab
Declaration
public GameObject conflictResolutionWindowPrefab { get; set; }
Property Value
Type | Description |
---|---|
GameObject |
contextOptionPrefab
Gets or sets the context option prefab.
Declaration
public GameObject contextOptionPrefab { get; set; }
Property Value
Type | Description |
---|---|
GameObject | The context option prefab. |
featureButtonPrefab
Gets or sets the feature button prefab.
Declaration
public GameObject featureButtonPrefab { get; set; }
Property Value
Type | Description |
---|---|
GameObject | The feature button prefab. |
featureSetDropdownPrefab
Gets or sets the feature set prefab.
Declaration
public GameObject featureSetDropdownPrefab { get; set; }
Property Value
Type | Description |
---|---|
GameObject | The feature set prefab. |
infoPanelPrefab
Gets or sets the information panel prefab.
Declaration
public GameObject infoPanelPrefab { get; set; }
Property Value
Type | Description |
---|---|
GameObject | The information panel prefab. |
setupPanelPrefab
Gets or sets the setup panel prefab.
Declaration
public GameObject setupPanelPrefab { get; set; }
Property Value
Type | Description |
---|---|
GameObject | The setup panel prefab. |
stagingPanelPrefab
Gets or sets the staging panel.
Declaration
public GameObject stagingPanelPrefab { get; set; }
Property Value
Type | Description |
---|---|
GameObject | The staging panel. |
Methods
GetConflictResolutionWindow()
Gets the conflict resolution window
Declaration
public ConflictResolutionWindow GetConflictResolutionWindow()
Returns
Type | Description |
---|---|
ConflictResolutionWindow | ConflictResolutionWindow |
Implements
GetContextOptionField()
Gets the context option field.
Declaration
public IContextOptionField GetContextOptionField()
Returns
Type | Description |
---|---|
IContextOptionField | IContextOptionField. |
Implements
GetFeatureButton()
Gets the feature button.
Declaration
public IFeatureButton GetFeatureButton()
Returns
Type | Description |
---|---|
IFeatureButton | IFeatureButton. |
Implements
GetFeatureSetDropdown()
Gets the feature set dropdown.
Declaration
public IFeatureSetDropdown GetFeatureSetDropdown()
Returns
Type | Description |
---|---|
IFeatureSetDropdown | IFeatureSetDropdown. |
Implements
GetProductCanvas()
Gets the product canvas.
Declaration
public IProductCanvas GetProductCanvas()
Returns
Type | Description |
---|---|
IProductCanvas | IProductCanvas. |
Implements
GetProductInfoPanel()
Gets the product information panel.
Declaration
public IProductInfoPanel GetProductInfoPanel()
Returns
Type | Description |
---|---|
IProductInfoPanel | IProductInfoPanel. |
Implements
GetProductSetupPanel()
Gets the product setup panel.
Declaration
public IProductSetupPanel GetProductSetupPanel()
Returns
Type | Description |
---|---|
IProductSetupPanel | IProductSetupPanel. |
Implements
GetStagingPanel()
Gets the staging panel.
Declaration
public IStagingPanel GetStagingPanel()
Returns
Type | Description |
---|---|
IStagingPanel | IStagingPanel. |
Implements
UseDefaults()
Declaration
public void UseDefaults()