9-Slice Textures inside the EditorWindow? (IMGUI)

Hi,
I’m trying to create some kind of drop-zone for a specific Assets / Types (type itself doesn’t matter).
I’ve already made the logic for the drop-zone using Unity UI events (editor).

What I’m not figuring out is wether it is possible to use a 9-Slice texture to make my drop-zone texture a bit better looking with round corners and dashed-lines.

Im attaching a Mockup I’ve made in Photoshop to demonstrate my end goal:

Is this possible? Has anyone made this kind of thing?
Thanks in advance

1 Like