docs.unity3d.com
    Show / Hide Table of Contents

    Class ProductCatalogEditor.ProductCatalogExportWindow

    A popup window that shows a list of exporters and kicks off an export from the ProductCatalogEditor.

    Inheritance
    Object
    PopupWindowContent
    ProductCatalogEditor.ProductCatalogExportWindow
    Inherited Members
    PopupWindowContent.OnOpen()
    PopupWindowContent.OnClose()
    PopupWindowContent.editorWindow
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEditor.Purchasing
    Syntax
    public class ProductCatalogExportWindow : PopupWindowContent

    Constructors

    ProductCatalogExportWindow(ProductCatalogEditor)

    Constructor taking an instance of ProductCatalogEditor to export contents from.

    Declaration
    public ProductCatalogExportWindow(ProductCatalogEditor editor_)
    Parameters
    Type Name Description
    ProductCatalogEditor 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 = 200F
    Field Value
    Type Description
    Single

    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
    PopupWindowContent.GetWindowSize()

    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.

    Overrides
    PopupWindowContent.OnGUI(Rect)
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023