Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Button with Popup field

Discussion in 'Immediate Mode GUI (IMGUI)' started by szaryx, Feb 9, 2023.

  1. szaryx

    szaryx

    Joined:
    May 26, 2022
    Posts:
    3
    Hi,

    I’m learning UI Toolkit for Editor currently, and I’m trying to recreate the FloatReference property drawer in UI Toolkit from Unite 2017 talk “Game Architecture with Scriptable Objects”.


    I think can do most of the things, but I have with recreating this little 3 dots button that launches a popup with the option to select either a constant or a scriptable object.

    The sample project with IMGUI code in question is here: https://github.com/roboryantron/Unite2017 and specifically here:

    https://github.com/roboryantron/Uni...Code/Variables/Editor/FloatReferenceDrawer.cs

    I would appreciate any help with this.

    Thanks