Class PopupSelectionMenu
Pop up menu for selecting, creating and assigning modifier instances to AbstractMap.
Inheritance
PopupWindowContent
PopupSelectionMenu
Namespace:Mapbox.Editor
Assembly:cs.temp.dll.dll
Syntax
public class PopupSelectionMenu : PopupWindowContent
Constructors
PopupSelectionMenu(Type, SerializedProperty)
Initializes a new instance of the PopupSelectionMenu class.
Declaration
public PopupSelectionMenu(Type t, SerializedProperty p)
Parameters
Type | Name | Description |
---|---|---|
Type | t | T. |
SerializedProperty | p | P. |
Methods
AddNewInstanceToArray(Object)
Adds the new instance to array.
Declaration
public void AddNewInstanceToArray(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | Object. |
GetWindowSize()
Declaration
public override Vector2 GetWindowSize()
Returns
Type | Description |
---|---|
Vector2 |
OnGUI(Rect)
Declaration
public override void OnGUI(Rect rect)
Parameters
Type | Name | Description |
---|---|---|
Rect | rect |