Menu.GetEnabled

Declaration

public static bool GetEnabled(string menuPath);

Parameters

menuPath A slash-delimited path to the item's position in the menu. For example, "Scene/Place on Surface".

Returns

bool True if the menu item is enabled. False otherwise.

Description

Gets the enabled status of a menu item.


Did you find this page useful? Please give it a rating: