EditorGUILayout.Popupstatic function Popup (selectedIndex : int, displayedOptions : string[], params options : GUILayoutOption[]) : intstatic function Popup (selectedIndex : int, displayedOptions : string[], style : GUIStyle, params options : GUILayoutOption[]) : intstatic function Popup (selectedIndex : int, displayedOptions : GUIContent[], params options : GUILayoutOption[]) : intstatic function Popup (selectedIndex : int, displayedOptions : GUIContent[], style : GUIStyle, params options : GUILayoutOption[]) : intstatic function Popup (label : String, selectedIndex : int, displayedOptions : string[], params options : GUILayoutOption[]) : intstatic function Popup (label : String, selectedIndex : int, displayedOptions : string[], style : GUIStyle, params options : GUILayoutOption[]) : intstatic function Popup (label : GUIContent, selectedIndex : int, displayedOptions : GUIContent[], params options : GUILayoutOption[]) : intstatic function Popup (label : GUIContent, selectedIndex : int, displayedOptions : GUIContent[], style : GUIStyle, params options : GUILayoutOption[]) : intParameters
Returnsint - The index of the option that has been selected by the user. DescriptionMake a generic popup selection field. Takes the currently selected index as a parameter and returns the index selected by the user.
// Creates an instance of a primitive depending on the option selected by the user.
|

