Class DropdownMenuSeparator
A separator menu item.
Namespace: UnityEngine.UIElements
Syntax
public class DropdownMenuSeparator : DropdownMenuItem
Constructors
DropdownMenuSeparator(String)
Constructor.
Declaration
public DropdownMenuSeparator(string subMenuPath)
Parameters
Type | Name | Description |
---|---|---|
String | subMenuPath | The path for the submenu. Path components are delimited by forward slashes ('/'). |
Properties
subMenuPath
The submenu path where the separator will be added. Path components are delimited by forward slashes ('/').
Declaration
public string subMenuPath { get; }
Property Value
Type | Description |
---|---|
String |