- Home /
Hierarchy pane like context menu
I'm making my own tools and editor panes for my game and I wonder if there is any way of displaying for a custom window a context menu similar to the one shown in the hierarchy pane when you right-click an item
Thanks
Answer by Waz · Jul 05, 2011 at 08:20 AM
Sure. It's just another box or window of GUI though, there is no special support for popups of any kind in the Unity GUI system, so for the popping down, modality and other traditional properties of popups, you have to implement the behaviour yourself.
Your answer
Follow this Question
Related Questions
How to relocate components dynamically? 0 Answers
Drawing Editor Inspector GUI based on selected/current prefab (CustomPropertyDrawer) 2 Answers
GUIUtility.DisplayCustomMenu().. how can I disable one of these menu items.. 3 Answers
custom mouse changing when hovering over objects 1 Answer
Custom GUI System RenderTexture (Ortographic Cam) vs Perspective 2 Answers