Assembly: UnityEngine.dll
public class DropdownMenu
Methods
|
Improve this Doc
View Source
Declaration
public void AppendAction(string actionName, Action<DropdownMenu.MenuAction> action, Func<DropdownMenu.MenuAction, DropdownMenu.MenuAction.StatusFlags> actionStatusCallback, object userData = null)
Parameters
|
Improve this Doc
View Source
Declaration
public void AppendSeparator(string subMenuPath = null)
Parameters
Type |
Name |
Description |
String |
subMenuPath |
|
|
Improve this Doc
View Source
Declaration
public void InsertAction(int atIndex, string actionName, Action<DropdownMenu.MenuAction> action, Func<DropdownMenu.MenuAction, DropdownMenu.MenuAction.StatusFlags> actionStatusCallback, object userData = null)
Parameters
|
Improve this Doc
View Source
Declaration
public void InsertSeparator(string subMenuPath, int atIndex)
Parameters
|
Improve this Doc
View Source
Declaration
public List<DropdownMenu.MenuItem> MenuItems()
Returns
|
Improve this Doc
View Source
Declaration
public void PrepareForDisplay(EventBase e)
Parameters
|
Improve this Doc
View Source
Declaration
public void RemoveItemAt(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Extension Methods