Class ProductCanvas
UGui implementation of Product Canvas
Inherited Members
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: UnityEngine.Industrial.Configuring.RuntimeUI
Syntax
public class ProductCanvas : MonoBehaviour, IProductCanvas
Properties
updateViewport
If this is true (default), the viewport will be changed when the menu is opened. Setting this to false treats the UI as an overlay.
Declaration
public bool updateViewport { get; set; }
Property Value
| Type | Description |
|---|---|
| Boolean |
|
Methods
AddChild(IFeatureSetDropdown)
Adds the child.
Declaration
public void AddChild(IFeatureSetDropdown child)
Parameters
| Type | Name | Description |
|---|---|---|
| IFeatureSetDropdown | child | The child. |
Implements
Destroy()
Destroys this instance.
Declaration
public void Destroy()
Implements
GetContentRoot()
Gets the content root.
Declaration
public Transform GetContentRoot()
Returns
| Type | Description |
|---|---|
| Transform | Transform. |
Implements
GetHeaderRoot()
Gets the header root.
Declaration
public Transform GetHeaderRoot()
Returns
| Type | Description |
|---|---|
| Transform | Transform. |
Implements
GetRoot()
Gets the root.
Declaration
public Transform GetRoot()
Returns
| Type | Description |
|---|---|
| Transform | Transform. |
Implements
RemoveChild(IFeatureSetDropdown)
Removes the child.
Declaration
public void RemoveChild(IFeatureSetDropdown child)
Parameters
| Type | Name | Description |
|---|---|---|
| IFeatureSetDropdown | child | The child. |
Implements
SnapTo(IFeatureSetDropdown)
Snaps to.
Declaration
public void SnapTo(IFeatureSetDropdown target)
Parameters
| Type | Name | Description |
|---|---|---|
| IFeatureSetDropdown | target | The target. |