Class ProductCatalogEditor.ProductCatalogExportWindow
A popup window that shows a list of exporters and kicks off an export from the ProductCatalogEditor.
Inherited Members
Namespace: UnityEditor .Purchasing
Assembly: solution.dll
Syntax
public class ProductCatalogEditor.ProductCatalogExportWindow : PopupWindowContent
Constructors
ProductCatalogExportWindow(ProductCatalogEditor)
Constructor taking an instance of ProductCatalogEditor
to export contents from.
Declaration
public ProductCatalogExportWindow(ProductCatalogEditor editor_)
Parameters
Type | Name | Description |
---|---|---|
Product |
editor_ | The product catalog editor from which the catalog will be exported. |
Fields
kWidth
The default width of the export window.
Declaration
public const float kWidth = 200
Field Value
Type | Description |
---|---|
float |
Methods
GetWindowSize()
Gets the dimensions of the window.
Declaration
public override Vector2 GetWindowSize()
Returns
Type | Description |
---|---|
Vector2 | The size of the window as a 2D vector. |
Overrides
OnGUI(Rect)
Function called when the GUI updates.
Declaration
public override void OnGUI(Rect rect)
Parameters
Type | Name | Description |
---|---|---|
Rect | rect | The current draw rectangle of the Window's GUI. |