Search Unity

Resolved What is equivalent to displayedOptions parametner of EditorGUI.MaskField for UI Toolkit Mask Field?

Discussion in 'UI Toolkit' started by Kichang-Kim, Sep 9, 2020.

  1. Kichang-Kim

    Kichang-Kim

    Joined:
    Oct 19, 2010
    Posts:
    1,011
    Hi. I'm trying to implement my own layermask inspector by using UI Tookit (UIElements).

    But I can't find what is equivalent to displayedOptions (EditorGUI.MaskField) for UIToolkit's MaskField. Is there any documentation for this?
     
  2. Kichang-Kim

    Kichang-Kim

    Joined:
    Oct 19, 2010
    Posts:
    1,011
    I found the answer. It seems that "choices" parameter of MaskField constructor makes same functionality.