GetEnabled(string)
Gets the enabled status of a menu item.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public static bool GetEnabled(string menuPath)
Parameters
A slash-delimited path to the item's position in the menu. For example, "Scene/Place on Surface".
Returns
Type | Description |
|---|---|
| bool | True if the menu item is enabled. False otherwise. |