docs.unity3d.com
    Show / Hide Table of Contents

    Interface IContextOptionField

    Interface IContextOptionField

    Namespace: UnityEngine.Industrial.Configuring.RuntimeUI
    Syntax
    public interface IContextOptionField

    Properties

    Key

    Gets or sets the key.

    Declaration
    string Key { get; set; }
    Property Value
    Type Description
    String

    The key.

    SelectedOption

    Gets or sets the selected option.

    Declaration
    string SelectedOption { get; set; }
    Property Value
    Type Description
    String

    The selected option.

    Transform

    Gets the transform.

    Declaration
    Transform Transform { get; }
    Property Value
    Type Description
    Transform

    The transform.

    Methods

    SetCategory(String)

    Sets the category.

    Declaration
    void SetCategory(string category)
    Parameters
    Type Name Description
    String category

    The category.

    SetDisplayInfo(DisplayInfoContent)

    Sets the display information.

    Declaration
    void SetDisplayInfo(DisplayInfoContent info)
    Parameters
    Type Name Description
    DisplayInfoContent info

    The information.

    SetDropdownValues(List<String>)

    Sets the dropdown values.

    Declaration
    void SetDropdownValues(List<string> options)
    Parameters
    Type Name Description
    List<String> options

    The options.

    SetOptions(List<String>)

    Sets the options.

    Declaration
    void SetOptions(List<string> options)
    Parameters
    Type Name Description
    List<String> options

    The options.

    Events

    productContextOptionChanged

    Occurs when [product context option changed].

    Declaration
    event ProductContextChangeHandler productContextOptionChanged
    Event Type
    Type Description
    ProductContextChangeHandler
    Back to top
    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