C# Class UnityEditor.ExposablePopupMenu

Mostrar archivo Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Methods

Method Description
Init ( List items, float itemSpacing, float minWidthOfPopup, PopupButtonData popupButtonData, Action selectionChangedCallback ) : void
OnGUI ( Rect rect ) : float

Private Methods

Method Description
CalcWidths ( ) : void
SelectionChanged ( ItemData item ) : void

Method Details

Init() public method

public Init ( List items, float itemSpacing, float minWidthOfPopup, PopupButtonData popupButtonData, Action selectionChangedCallback ) : void
items List
itemSpacing float
minWidthOfPopup float
popupButtonData PopupButtonData
selectionChangedCallback Action
return void

OnGUI() public method

public OnGUI ( Rect rect ) : float
rect UnityEngine.Rect
return float