Version: 2018.2
Experimental: this API is experimental and might be changed or removed in the future.

ContextualMenu.AppendSeparator

Switch to Manual
public void AppendSeparator (string subMenuPath);

Parameters

subMenuPathThe 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.