This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

DropdownMenu.AppendSeparator

Declaration

public void AppendSeparator(string subMenuPath);

Parameters

subMenuPath The submenu path where the separator will be added. Path components are delimited by forward slashes ('/').

Description

Add a separator line in the menu. The separator is added at the end of the current item list.