AdvancedDropdown
class in
UnityEditor.IMGUI.Controls
/
Implemented in:UnityEditor
Suggest a changeSuccess!
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseSubmission failed
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
Close Description
Inherit from this class to implement your own drop-down control.
Properties
minimumSize | Minimum size of the drop-down window. By default, the drop-down will try to match the width of the given rect or the rendered content. |
Public Methods
Show | Call this method to show the drop-down at the given position. |
Protected Methods
BuildRoot | Implement this method to generate the content of the drop-down.
This method is called when the drop-down is being shown. |
ItemSelected | Override this method to get notified when an item is selected. |